#AF71D2#AF71D2
#AF71D2 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.2% C 0.153 H 312.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF71D2 |
|---|---|
| RGB | rgb(175, 113, 210) |
| HSL | hsl(278, 52%, 63%) |
| HSV | hsv(278, 46%, 82%) |
| CMYK | cmyk(16.7%, 46.2%, 0%, 17.6%) |
| CIE-LAB | lab(57.63, 41.73, -40.62) |
| CIE-LCH | lch(57.63, 58.23, 315.77°) |
| OKLab | oklab(65.19% 0.1027 -0.1129) |
| OKLCH | oklch(65.19% 0.153 312.3) |
| XYZ | xyz(35.2152, 25.5781, 64.0422) |
| Luminance | 0.2558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.15
Soft Purple
#A66FB5
ΔE00 5.49
Deep Lilac
#966EBD
ΔE00 5.60
Light Urple
#B36FF6
ΔE00 5.82
Light Purple
#BF77F6
ΔE00 5.91
Mediumorchid
#BA55D3
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF71D2 #94D271
analogous
#7E71D2 #AF71D2 #D271C4
triadic
#AF71D2 #D2AF71 #71D2AF
tetradic
#AF71D2 #D27E71 #94D271 #71C4D2
square
#AF71D2 #D27E71 #94D271 #71C4D2
split-complementary
#AF71D2 #C4D271 #71D27E
monochromatic
#733098 #9543C3 #AF71D2 #C99FE1 #E3CEEF
Accessibility & contrast
On white
3.43
#AF71D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#AF71D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF71D2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF71D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF71D2 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C87D5
Deuteranopia (green-blind)
#6D8CCF
Tritanopia (blue-blind)
#AC8098
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #af71d2; /* rgb */ color: rgb(175, 113, 210); /* oklch */ color: oklch(65.2% 0.153 312.3);
Tailwind
colors: {
custom: {
50: '#c99be0',
500: '#af71d2',
950: '#000000',
},
}SCSS
$custom: #af71d2; $custom-light: #c99be0; $custom-dark: #000000;
JSON
{
"hex": "#af71d2",
"rgb": {
"r": 175,
"g": 113,
"b": 210
},
"hsl": {
"h": 278.351,
"s": 51.872,
"l": 63.333
},
"oklch": {
"l": 0.65192,
"c": 0.15267,
"h": 312.3
},
"luminance": 0.25577
}Semantic roles & 50–950 ramp
primary
#AF71D2
secondary
#CBE1BE
accent
#BF265D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83