#C87DF9#C87DF9
#C87DF9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.187 H 310.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C87DF9 |
|---|---|
| RGB | rgb(200, 125, 249) |
| HSL | hsl(276, 91%, 73%) |
| HSV | hsv(276, 50%, 98%) |
| CMYK | cmyk(19.7%, 49.8%, 0%, 2.4%) |
| CIE-LAB | lab(64.79, 50.61, -50.86) |
| CIE-LCH | lch(64.79, 71.75, 314.86°) |
| OKLab | oklab(71.75% 0.1211 -0.1421) |
| OKLCH | oklch(71.75% 0.187 310.4) |
| XYZ | xyz(48.2488, 33.7870, 93.5840) |
| Luminance | 0.3379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.15
Easter Purple
#C071FE
ΔE00 3.38
Liliac
#C48EFD
ΔE00 4.18
Light Urple
#B36FF6
ΔE00 5.14
Bright Lavender
#C760FF
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87DF9 #AEF97D
analogous
#8A7DF9 #C87DF9 #F97DEC
triadic
#C87DF9 #F9C87D #7DF9C8
tetradic
#C87DF9 #F98A7D #AEF97D #7DECF9
square
#C87DF9 #F98A7D #AEF97D #7DECF9
split-complementary
#C87DF9 #ECF97D #7DF98A
monochromatic
#960BF0 #AF42F6 #C87DF9 #E1B7FC #F3E2FE
Accessibility & contrast
On white
2.71
#C87DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#C87DF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87DF9
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87DF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87DF9 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#739FF6
Tritanopia (blue-blind)
#C292B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c87df9; /* rgb */ color: rgb(200, 125, 249); /* oklch */ color: oklch(71.8% 0.187 310.4);
Tailwind
colors: {
custom: {
50: '#dba5fc',
500: '#c87df9',
950: '#000000',
},
}SCSS
$custom: #c87df9; $custom-light: #dba5fc; $custom-dark: #000000;
JSON
{
"hex": "#c87df9",
"rgb": {
"r": 200,
"g": 125,
"b": 249
},
"hsl": {
"h": 276.29,
"s": 91.176,
"l": 73.333
},
"oklch": {
"l": 0.71753,
"c": 0.18671,
"h": 310.4
},
"luminance": 0.33786
}Semantic roles & 50–950 ramp
primary
#C87DF9
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85