#C871F4#C871F4
#C871F4 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.7% C 0.200 H 313.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C871F4 |
|---|---|
| RGB | rgb(200, 113, 244) |
| HSL | hsl(280, 86%, 70%) |
| HSV | hsv(280, 54%, 96%) |
| CMYK | cmyk(18%, 53.7%, 0%, 4.3%) |
| CIE-LAB | lab(62.19, 55.69, -52.23) |
| CIE-LCH | lch(62.19, 76.35, 316.84°) |
| OKLab | oklab(69.75% 0.1363 -0.1461) |
| OKLCH | oklch(69.75% 0.2 313) |
| XYZ | xyz(46.0509, 30.6224, 89.0553) |
| Luminance | 0.3062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.12
Easter Purple
#C071FE
ΔE00 2.44
Bright Lavender
#C760FF
ΔE00 3.76
Bright Lilac
#C95EFB
ΔE00 3.81
Light Urple
#B36FF6
ΔE00 4.09
Heliotrope
#D94FF5
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C871F4 #9DF471
analogous
#8671F4 #C871F4 #F471DF
triadic
#C871F4 #F4C871 #71F4C8
tetradic
#C871F4 #F48671 #9DF471 #71DFF4
square
#C871F4 #F48671 #9DF471 #71DFF4
split-complementary
#C871F4 #DFF471 #71F486
monochromatic
#9611DA #B238F0 #C871F4 #DEAAF8 #F4E3FD
Accessibility & contrast
On white
2.95
#C871F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#C871F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C871F4
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C871F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C871F4 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E92F8
Deuteranopia (green-blind)
#6B98F1
Tritanopia (blue-blind)
#C487A8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c871f4; /* rgb */ color: rgb(200, 113, 244); /* oklch */ color: oklch(69.7% 0.200 313.0);
Tailwind
colors: {
custom: {
50: '#db9df8',
500: '#c871f4',
950: '#000000',
},
}SCSS
$custom: #c871f4; $custom-light: #db9df8; $custom-dark: #000000;
JSON
{
"hex": "#c871f4",
"rgb": {
"r": 200,
"g": 113,
"b": 244
},
"hsl": {
"h": 279.847,
"s": 85.621,
"l": 70
},
"oklch": {
"l": 0.69747,
"c": 0.19979,
"h": 313
},
"luminance": 0.30621
}Semantic roles & 50–950 ramp
primary
#C871F4
secondary
#DAF3CE
accent
#E2034E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85