#C874FC#C874FC
#C874FC is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.6% C 0.204 H 310.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C874FC |
|---|---|
| RGB | rgb(200, 116, 252) |
| HSL | hsl(277, 96%, 72%) |
| HSV | hsv(277, 54%, 99%) |
| CMYK | cmyk(20.6%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(63.18, 55.87, -55.07) |
| CIE-LCH | lch(63.18, 78.45, 315.41°) |
| OKLab | oklab(70.61% 0.133 -0.1544) |
| OKLCH | oklch(70.61% 0.204 310.7) |
| XYZ | xyz(47.6323, 31.7994, 95.7053) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.66
Easter Purple
#C071FE
ΔE00 1.77
Light Urple
#B36FF6
ΔE00 3.95
Bright Lavender
#C760FF
ΔE00 4.02
Bright Lilac
#C95EFB
ΔE00 4.31
Liliac
#C48EFD
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C874FC #A8FC74
analogous
#8474FC #C874FC #FC74EC
triadic
#C874FC #FCC874 #74FCC8
tetradic
#C874FC #FC8474 #A8FC74 #74ECFC
square
#C874FC #FC8474 #A8FC74 #74ECFC
split-complementary
#C874FC #ECFC74 #74FC84
monochromatic
#9605F0 #B038FB #C874FC #E0B0FD #F3E1FE
Accessibility & contrast
On white
2.85
#C874FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#C874FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C874FC
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C874FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C874FC | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#699AF9
Tritanopia (blue-blind)
#C28CAD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c874fc; /* rgb */ color: rgb(200, 116, 252); /* oklch */ color: oklch(70.6% 0.204 310.7);
Tailwind
colors: {
custom: {
50: '#dc9ffe',
500: '#c874fc',
950: '#000000',
},
}SCSS
$custom: #c874fc; $custom-light: #dc9ffe; $custom-dark: #000000;
JSON
{
"hex": "#c874fc",
"rgb": {
"r": 200,
"g": 116,
"b": 252
},
"hsl": {
"h": 277.059,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.70609,
"c": 0.20375,
"h": 310.7
},
"luminance": 0.31798
}Semantic roles & 50–950 ramp
primary
#C874FC
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86