#C87CFD#C87CFD
#C87CFD is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.193 H 309.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C87CFD |
|---|---|
| RGB | rgb(200, 124, 253) |
| HSL | hsl(275, 97%, 74%) |
| HSV | hsv(275, 51%, 99%) |
| CMYK | cmyk(20.9%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(64.79, 52.00, -53.05) |
| CIE-LCH | lch(64.79, 74.28, 314.42°) |
| OKLab | oklab(71.82% 0.1228 -0.1485) |
| OKLCH | oklch(71.82% 0.193 309.6) |
| XYZ | xyz(48.7533, 33.7873, 96.8628) |
| Luminance | 0.3379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.02
Easter Purple
#C071FE
ΔE00 2.97
Liliac
#C48EFD
ΔE00 4.34
Light Urple
#B36FF6
ΔE00 4.89
Bright Lavender
#C760FF
ΔE00 5.74
Bright Lilac
#C95EFB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C87CFD #B1FD7C
analogous
#887CFD #C87CFD #FD7CF1
triadic
#C87CFD #FDC87C #7CFDC8
tetradic
#C87CFD #FD887C #B1FD7C #7CF1FD
square
#C87CFD #FD887C #B1FD7C #7CF1FD
split-complementary
#C87CFD #F1FD7C #7CFD88
monochromatic
#9504FB #AF40FC #C87CFD #E1B8FE #F2E1FF
Accessibility & contrast
On white
2.71
#C87CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#C87CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C87CFD
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C87CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C87CFD | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#709EFA
Tritanopia (blue-blind)
#C192B1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c87cfd; /* rgb */ color: rgb(200, 124, 253); /* oklch */ color: oklch(71.8% 0.193 309.6);
Tailwind
colors: {
custom: {
50: '#dba4fe',
500: '#c87cfd',
950: '#000000',
},
}SCSS
$custom: #c87cfd; $custom-light: #dba4fe; $custom-dark: #000000;
JSON
{
"hex": "#c87cfd",
"rgb": {
"r": 200,
"g": 124,
"b": 253
},
"hsl": {
"h": 275.349,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.71819,
"c": 0.19268,
"h": 309.6
},
"luminance": 0.33787
}Semantic roles & 50–950 ramp
primary
#C87CFD
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86