#C87FF6#C87FF6
#C87FF6 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.180 H 310.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #C87FF6 |
|---|---|
| RGB | rgb(200, 127, 246) |
| HSL | hsl(277, 87%, 73%) |
| HSV | hsv(277, 48%, 96%) |
| CMYK | cmyk(18.7%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(65.05, 48.92, -48.80) |
| CIE-LCH | lch(65.05, 69.10, 315.07°) |
| OKLab | oklab(71.9% 0.1181 -0.1361) |
| OKLCH | oklch(71.9% 0.18 310.9) |
| XYZ | xyz(48.0403, 34.1128, 91.2246) |
| Luminance | 0.3411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.59
Liliac
#C48EFD
ΔE00 3.87
Easter Purple
#C071FE
ΔE00 3.99
Light Urple
#B36FF6
ΔE00 5.59
Bright Lavender
#C760FF
ΔE00 6.61
Bright Lilac
#C95EFB
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87FF6 #ADF67F
analogous
#8C7FF6 #C87FF6 #F67FE8
triadic
#C87FF6 #F6C87F #7FF6C8
tetradic
#C87FF6 #F68C7F #ADF67F #7FE8F6
square
#C87FF6 #F68C7F #ADF67F #7FE8F6
split-complementary
#C87FF6 #E8F67F #7FF68C
monochromatic
#9610EA #AF46F2 #C87FF6 #E1B8FA #F3E2FD
Accessibility & contrast
On white
2.68
#C87FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#C87FF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87FF6
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87FF6 | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C392AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c87ff6; /* rgb */ color: rgb(200, 127, 246); /* oklch */ color: oklch(71.9% 0.180 310.9);
Tailwind
colors: {
custom: {
50: '#dba6f9',
500: '#c87ff6',
950: '#000000',
},
}SCSS
$custom: #c87ff6; $custom-light: #dba6f9; $custom-dark: #000000;
JSON
{
"hex": "#c87ff6",
"rgb": {
"r": 200,
"g": 127,
"b": 246
},
"hsl": {
"h": 276.807,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.71897,
"c": 0.18023,
"h": 310.9
},
"luminance": 0.34112
}Semantic roles & 50–950 ramp
primary
#C87FF6
secondary
#E2F5D6
accent
#E30259
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85