#C87DF2#C87DF2
#C87DF2 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.4% C 0.179 H 312.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C87DF2 |
|---|---|
| RGB | rgb(200, 125, 242) |
| HSL | hsl(278, 82%, 72%) |
| HSV | hsv(278, 48%, 95%) |
| CMYK | cmyk(17.4%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(64.45, 49.12, -47.55) |
| CIE-LCH | lch(64.45, 68.36, 315.93°) |
| OKLab | oklab(71.39% 0.1203 -0.1325) |
| OKLCH | oklch(71.39% 0.179 312.2) |
| XYZ | xyz(47.1773, 33.3584, 87.9408) |
| Luminance | 0.3336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.56
Easter Purple
#C071FE
ΔE00 4.01
Liliac
#C48EFD
ΔE00 4.51
Light Urple
#B36FF6
ΔE00 5.52
Bright Lavender
#C760FF
ΔE00 6.38
Bright Lilac
#C95EFB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87DF2 #A7F27D
analogous
#8E7DF2 #C87DF2 #F27DE1
triadic
#C87DF2 #F2C87D #7DF2C8
tetradic
#C87DF2 #F28E7D #A7F27D #7DE1F2
square
#C87DF2 #F28E7D #A7F27D #7DE1F2
split-complementary
#C87DF2 #E1F27D #7DF28E
monochromatic
#9716DE #B045EC #C87DF2 #E0B5F8 #F3E3FC
Accessibility & contrast
On white
2.74
#C87DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#C87DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87DF2
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87DF2 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C48FAC
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c87df2; /* rgb */ color: rgb(200, 125, 242); /* oklch */ color: oklch(71.4% 0.179 312.2);
Tailwind
colors: {
custom: {
50: '#dba5f7',
500: '#c87df2',
950: '#000000',
},
}SCSS
$custom: #c87df2; $custom-light: #dba5f7; $custom-dark: #000000;
JSON
{
"hex": "#c87df2",
"rgb": {
"r": 200,
"g": 125,
"b": 242
},
"hsl": {
"h": 278.462,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.71387,
"c": 0.17897,
"h": 312.2
},
"luminance": 0.33357
}Semantic roles & 50–950 ramp
primary
#C87DF2
secondary
#E1F4D7
accent
#DE0754
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85