#C874F8#C874F8
#C874F8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.4% C 0.199 H 311.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C874F8 |
|---|---|
| RGB | rgb(200, 116, 248) |
| HSL | hsl(278, 90%, 71%) |
| HSV | hsv(278, 53%, 97%) |
| CMYK | cmyk(19.4%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(62.97, 55.02, -53.20) |
| CIE-LCH | lch(62.97, 76.54, 315.96°) |
| OKLab | oklab(70.39% 0.1327 -0.1489) |
| OKLCH | oklch(70.39% 0.199 311.7) |
| XYZ | xyz(47.0051, 31.5485, 92.4020) |
| Luminance | 0.3155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.65
Easter Purple
#C071FE
ΔE00 2.12
Light Urple
#B36FF6
ΔE00 4.08
Bright Lavender
#C760FF
ΔE00 4.14
Bright Lilac
#C95EFB
ΔE00 4.33
Liliac
#C48EFD
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C874F8 #A4F874
analogous
#8674F8 #C874F8 #F874E6
triadic
#C874F8 #F8C874 #74F8C8
tetradic
#C874F8 #F88674 #A4F874 #74E6F8
square
#C874F8 #F88674 #A4F874 #74E6F8
split-complementary
#C874F8 #E6F874 #74F886
monochromatic
#970CE6 #B13AF5 #C874F8 #DFAEFB #F3E2FE
Accessibility & contrast
On white
2.87
#C874F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#C874F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C874F8
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C874F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C874F8 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#C38AAB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c874f8; /* rgb */ color: rgb(200, 116, 248); /* oklch */ color: oklch(70.4% 0.199 311.7);
Tailwind
colors: {
custom: {
50: '#db9ffb',
500: '#c874f8',
950: '#000000',
},
}SCSS
$custom: #c874f8; $custom-light: #db9ffb; $custom-dark: #000000;
JSON
{
"hex": "#c874f8",
"rgb": {
"r": 200,
"g": 116,
"b": 248
},
"hsl": {
"h": 278.182,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.70388,
"c": 0.19948,
"h": 311.7
},
"luminance": 0.31547
}Semantic roles & 50–950 ramp
primary
#C874F8
secondary
#DFF5D3
accent
#E60053
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85