#C871F1#C871F1
#C871F1 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.6% C 0.197 H 313.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C871F1 |
|---|---|
| RGB | rgb(200, 113, 241) |
| HSL | hsl(281, 82%, 69%) |
| HSV | hsv(281, 53%, 95%) |
| CMYK | cmyk(17%, 53.1%, 0%, 5.5%) |
| CIE-LAB | lab(62.03, 55.07, -50.82) |
| CIE-LCH | lch(62.03, 74.93, 317.30°) |
| OKLab | oklab(69.58% 0.1361 -0.1419) |
| OKLCH | oklch(69.58% 0.197 313.8) |
| XYZ | xyz(45.5991, 30.4417, 86.6758) |
| Luminance | 0.3044 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.36
Easter Purple
#C071FE
ΔE00 2.85
Bright Lilac
#C95EFB
ΔE00 3.96
Bright Lavender
#C760FF
ΔE00 3.99
Light Urple
#B36FF6
ΔE00 4.31
Heliotrope
#D94FF5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C871F1 #9AF171
analogous
#8871F1 #C871F1 #F171DA
triadic
#C871F1 #F1C871 #71F1C8
tetradic
#C871F1 #F18871 #9AF171 #71DAF1
square
#C871F1 #F18871 #9AF171 #71DAF1
split-complementary
#C871F1 #DAF171 #71F188
monochromatic
#9615D3 #B239EC #C871F1 #DEA9F6 #F3E0FC
Accessibility & contrast
On white
2.96
#C871F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#C871F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C871F1
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C871F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C871F1 | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#6D98EE
Tritanopia (blue-blind)
#C586A7
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c871f1; /* rgb */ color: rgb(200, 113, 241); /* oklch */ color: oklch(69.6% 0.197 313.8);
Tailwind
colors: {
custom: {
50: '#db9df6',
500: '#c871f1',
950: '#000000',
},
}SCSS
$custom: #c871f1; $custom-light: #db9df6; $custom-dark: #000000;
JSON
{
"hex": "#c871f1",
"rgb": {
"r": 200,
"g": 113,
"b": 241
},
"hsl": {
"h": 280.781,
"s": 82.051,
"l": 69.412
},
"oklch": {
"l": 0.69583,
"c": 0.19665,
"h": 313.8
},
"luminance": 0.3044
}Semantic roles & 50–950 ramp
primary
#C871F1
secondary
#D8F1CC
accent
#DE074C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85