#AF0FFF

A medium, vivid purple closely aligning with Darkviolet.

About #AF0FFF

The precise color #AF0FFF is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkviolet. In the RGB color space, it consists of 175 red, 15 green, and 255 blue.

Translating this color to physical media requires the CMYK color model. The color uses 31% Cyan, 94% Magenta, 0% Yellow, and 0% Black. Always request a physical proof before doing a large print run with this exact code.

Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AF0FFF
RGB175, 15, 255
HSL280.0°, 100.0%, 52.9%
CMYK31%, 94%, 0%, 0%
HSV280.0°, 94.1%, 100.0%
LAB47.8, 86.2, -81.7
XYZ35.9, 16.7, 95.9
Decimal11472895

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.84:1
Text on #FFFFFF
AA
4.34:1
Text on #000000
AA Large
4.63:1
Text on #F8FAFC
AA
3.69:1
Text on #0F172A
AA Large

CSS Implementation

.bg-color { background-color: #AF0FFF; }
.text-color { color: #AF0FFF; }
.border-color { border: 2px solid #AF0FFF; }

Similar Colors

Darkviolet
#9400D3