#AF7FD7#AF7FD7
#AF7FD7 is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.8% C 0.135 H 308.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7FD7 |
|---|---|
| RGB | rgb(175, 127, 215) |
| HSL | hsl(273, 52%, 67%) |
| HSV | hsv(273, 41%, 84%) |
| CMYK | cmyk(18.6%, 40.9%, 0%, 15.7%) |
| CIE-LAB | lab(60.96, 35.11, -38.22) |
| CIE-LCH | lch(60.96, 51.90, 312.58°) |
| OKLab | oklab(67.76% 0.0837 -0.1061) |
| OKLCH | oklch(67.76% 0.135 308.3) |
| XYZ | xyz(37.5320, 29.1994, 67.9356) |
| Luminance | 0.2920 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.99
Pale Purple
#B790D4
ΔE00 5.48
Light Purple
#BF77F6
ΔE00 5.74
Light Urple
#B36FF6
ΔE00 6.75
Liliac
#C48EFD
ΔE00 6.87
Deep Lilac
#966EBD
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7FD7 #A7D77F
analogous
#837FD7 #AF7FD7 #D77FD3
triadic
#AF7FD7 #D7AF7F #7FD7AF
tetradic
#AF7FD7 #D7837F #A7D77F #7FD3D7
square
#AF7FD7 #D7837F #A7D77F #7FD3D7
split-complementary
#AF7FD7 #D3D77F #7FD783
monochromatic
#7334A7 #9250C8 #AF7FD7 #CCAEE6 #E9DCF4
Accessibility & contrast
On white
3.07
#AF7FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#AF7FD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7FD7
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7FD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7FD7 | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C91DA
Deuteranopia (green-blind)
#7794D5
Tritanopia (blue-blind)
#AA8CA1
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #af7fd7; /* rgb */ color: rgb(175, 127, 215); /* oklch */ color: oklch(67.8% 0.135 308.3);
Tailwind
colors: {
custom: {
50: '#c8a5e3',
500: '#af7fd7',
950: '#000000',
},
}SCSS
$custom: #af7fd7; $custom-light: #c8a5e3; $custom-dark: #000000;
JSON
{
"hex": "#af7fd7",
"rgb": {
"r": 175,
"g": 127,
"b": 215
},
"hsl": {
"h": 272.727,
"s": 52.381,
"l": 67.059
},
"oklch": {
"l": 0.6776,
"c": 0.13511,
"h": 308.3
},
"luminance": 0.29199
}Semantic roles & 50–950 ramp
primary
#AF7FD7
secondary
#D8E7CB
accent
#C0266C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83