#C87EF6#C87EF6
#C87EF6 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.7% C 0.182 H 311.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C87EF6 |
|---|---|
| RGB | rgb(200, 126, 246) |
| HSL | hsl(277, 87%, 73%) |
| HSV | hsv(277, 49%, 96%) |
| CMYK | cmyk(18.7%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(64.85, 49.45, -49.12) |
| CIE-LCH | lch(64.85, 69.70, 315.19°) |
| OKLab | oklab(71.75% 0.1194 -0.1371) |
| OKLCH | oklch(71.75% 0.182 311.1) |
| XYZ | xyz(47.9118, 33.8558, 91.1818) |
| Luminance | 0.3386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.42
Easter Purple
#C071FE
ΔE00 3.80
Liliac
#C48EFD
ΔE00 4.08
Light Urple
#B36FF6
ΔE00 5.43
Bright Lavender
#C760FF
ΔE00 6.39
Bright Lilac
#C95EFB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87EF6 #ACF67E
analogous
#8C7EF6 #C87EF6 #F67EE8
triadic
#C87EF6 #F6C87E #7EF6C8
tetradic
#C87EF6 #F68C7E #ACF67E #7EE8F6
square
#C87EF6 #F68C7E #ACF67E #7EE8F6
split-complementary
#C87EF6 #E8F67E #7EF68C
monochromatic
#9610E9 #B045F2 #C87EF6 #E0B7FA #F3E2FD
Accessibility & contrast
On white
2.70
#C87EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#C87EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87EF6
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87EF6 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#C391AF
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c87ef6; /* rgb */ color: rgb(200, 126, 246); /* oklch */ color: oklch(71.7% 0.182 311.1);
Tailwind
colors: {
custom: {
50: '#dba5f9',
500: '#c87ef6',
950: '#000000',
},
}SCSS
$custom: #c87ef6; $custom-light: #dba5f9; $custom-dark: #000000;
JSON
{
"hex": "#c87ef6",
"rgb": {
"r": 200,
"g": 126,
"b": 246
},
"hsl": {
"h": 277,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.71746,
"c": 0.18181,
"h": 311.1
},
"luminance": 0.33855
}Semantic roles & 50–950 ramp
primary
#C87EF6
secondary
#E2F5D6
accent
#E40258
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85