#C87FF2#C87FF2
#C87FF2 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.7% C 0.176 H 312.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C87FF2 |
|---|---|
| RGB | rgb(200, 127, 242) |
| HSL | hsl(278, 82%, 72%) |
| HSV | hsv(278, 48%, 95%) |
| CMYK | cmyk(17.4%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(64.86, 48.07, -46.90) |
| CIE-LCH | lch(64.86, 67.16, 315.70°) |
| OKLab | oklab(71.69% 0.1176 -0.1306) |
| OKLCH | oklch(71.69% 0.176 312) |
| XYZ | xyz(47.4330, 33.8699, 88.0260) |
| Luminance | 0.3387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.87
Liliac
#C48EFD
ΔE00 4.12
Easter Purple
#C071FE
ΔE00 4.36
Light Urple
#B36FF6
ΔE00 5.84
Bright Lavender
#C760FF
ΔE00 6.82
Baby Purple
#CA9BF7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87FF2 #A9F27F
analogous
#8F7FF2 #C87FF2 #F27FE2
triadic
#C87FF2 #F2C87F #7FF2C8
tetradic
#C87FF2 #F28F7F #A9F27F #7FE2F2
square
#C87FF2 #F28F7F #A9F27F #7FE2F2
split-complementary
#C87FF2 #E2F27F #7FF28F
monochromatic
#9617E0 #B047EC #C87FF2 #E0B7F8 #F3E3FC
Accessibility & contrast
On white
2.70
#C87FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#C87FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87FF2
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87FF2 | 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)
#659AF6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#C491AD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c87ff2; /* rgb */ color: rgb(200, 127, 242); /* oklch */ color: oklch(71.7% 0.176 312.0);
Tailwind
colors: {
custom: {
50: '#dba6f7',
500: '#c87ff2',
950: '#000000',
},
}SCSS
$custom: #c87ff2; $custom-light: #dba6f7; $custom-dark: #000000;
JSON
{
"hex": "#c87ff2",
"rgb": {
"r": 200,
"g": 127,
"b": 242
},
"hsl": {
"h": 278.087,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.71691,
"c": 0.17578,
"h": 312
},
"luminance": 0.33869
}Semantic roles & 50–950 ramp
primary
#C87FF2
secondary
#E2F4D7
accent
#DE0856
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85