#C87EF2#C87EF2
#C87EF2 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.5% C 0.177 H 312.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C87EF2 |
|---|---|
| RGB | rgb(200, 126, 242) |
| HSL | hsl(278, 82%, 72%) |
| HSV | hsv(278, 48%, 95%) |
| CMYK | cmyk(17.4%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(64.65, 48.59, -47.23) |
| CIE-LCH | lch(64.65, 67.76, 315.82°) |
| OKLab | oklab(71.54% 0.119 -0.1316) |
| OKLCH | oklch(71.54% 0.177 312.1) |
| XYZ | xyz(47.3045, 33.6129, 87.9832) |
| Luminance | 0.3361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.71
Easter Purple
#C071FE
ΔE00 4.18
Liliac
#C48EFD
ΔE00 4.31
Light Urple
#B36FF6
ΔE00 5.68
Bright Lavender
#C760FF
ΔE00 6.60
Bright Lilac
#C95EFB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87EF2 #A8F27E
analogous
#8E7EF2 #C87EF2 #F27EE2
triadic
#C87EF2 #F2C87E #7EF2C8
tetradic
#C87EF2 #F28E7E #A8F27E #7EE2F2
square
#C87EF2 #F28E7E #A8F27E #7EE2F2
split-complementary
#C87EF2 #E2F27E #7EF28E
monochromatic
#9616DF #B046EC #C87EF2 #E0B6F8 #F3E3FC
Accessibility & contrast
On white
2.72
#C87EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#C87EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87EF2
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87EF2 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C490AD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c87ef2; /* rgb */ color: rgb(200, 126, 242); /* oklch */ color: oklch(71.5% 0.177 312.1);
Tailwind
colors: {
custom: {
50: '#dba5f7',
500: '#c87ef2',
950: '#000000',
},
}SCSS
$custom: #c87ef2; $custom-light: #dba5f7; $custom-dark: #000000;
JSON
{
"hex": "#c87ef2",
"rgb": {
"r": 200,
"g": 126,
"b": 242
},
"hsl": {
"h": 278.276,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.71538,
"c": 0.17738,
"h": 312.1
},
"luminance": 0.33612
}Semantic roles & 50–950 ramp
primary
#C87EF2
secondary
#E1F4D7
accent
#DE0755
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85