#C87DFE#C87DFE
#C87DFE is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.192 H 309.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #C87DFE |
|---|---|
| RGB | rgb(200, 125, 254) |
| HSL | hsl(275, 98%, 74%) |
| HSV | hsv(275, 51%, 100%) |
| CMYK | cmyk(21.3%, 50.8%, 0%, 0.4%) |
| CIE-LAB | lab(65.04, 51.70, -53.20) |
| CIE-LCH | lch(65.04, 74.18, 314.18°) |
| OKLab | oklab(72.02% 0.1215 -0.149) |
| OKLCH | oklch(72.02% 0.192 309.2) |
| XYZ | xyz(49.0390, 34.1031, 97.7459) |
| Luminance | 0.3410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.20
Easter Purple
#C071FE
ΔE00 3.13
Liliac
#C48EFD
ΔE00 4.12
Light Urple
#B36FF6
ΔE00 5.03
Bright Lavender
#C760FF
ΔE00 5.95
Bright Lilac
#C95EFB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87DFE #B3FE7D
analogous
#887DFE #C87DFE #FE7DF3
triadic
#C87DFE #FEC87D #7DFEC8
tetradic
#C87DFE #FE887D #B3FE7D #7DF3FE
square
#C87DFE #FE887D #B3FE7D #7DF3FE
split-complementary
#C87DFE #F3FE7D #7DFE88
monochromatic
#9504FD #AE40FE #C87DFE #E2BAFE #F2E1FF
Accessibility & contrast
On white
2.69
#C87DFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#C87DFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87DFE
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87DFE | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 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)
#599BFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#C193B2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c87dfe; /* rgb */ color: rgb(200, 125, 254); /* oklch */ color: oklch(72.0% 0.192 309.2);
Tailwind
colors: {
custom: {
50: '#dba5ff',
500: '#c87dfe',
950: '#000000',
},
}SCSS
$custom: #c87dfe; $custom-light: #dba5ff; $custom-dark: #000000;
JSON
{
"hex": "#c87dfe",
"rgb": {
"r": 200,
"g": 125,
"b": 254
},
"hsl": {
"h": 274.884,
"s": 98.473,
"l": 74.314
},
"oklch": {
"l": 0.72021,
"c": 0.19225,
"h": 309.2
},
"luminance": 0.34102
}Semantic roles & 50–950 ramp
primary
#C87DFE
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86