#C874F7#C874F7
#C874F7 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.3% C 0.198 H 312.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C874F7 |
|---|---|
| RGB | rgb(200, 116, 247) |
| HSL | hsl(278, 89%, 71%) |
| HSV | hsv(278, 53%, 97%) |
| CMYK | cmyk(19%, 53%, 0%, 3.1%) |
| CIE-LAB | lab(62.92, 54.81, -52.73) |
| CIE-LCH | lch(62.92, 76.06, 316.11°) |
| OKLab | oklab(70.33% 0.1327 -0.1475) |
| OKLCH | oklch(70.33% 0.198 312) |
| XYZ | xyz(46.8503, 31.4866, 91.5872) |
| Luminance | 0.3149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.69
Easter Purple
#C071FE
ΔE00 2.23
Light Urple
#B36FF6
ΔE00 4.12
Bright Lavender
#C760FF
ΔE00 4.18
Bright Lilac
#C95EFB
ΔE00 4.35
Liliac
#C48EFD
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C874F7 #A3F774
analogous
#8674F7 #C874F7 #F774E5
triadic
#C874F7 #F7C874 #74F7C8
tetradic
#C874F7 #F78674 #A3F774 #74E5F7
square
#C874F7 #F78674 #A3F774 #74E5F7
split-complementary
#C874F7 #E5F774 #74F786
monochromatic
#970DE4 #B13AF4 #C874F7 #DFAEFA #F4E2FD
Accessibility & contrast
On white
2.88
#C874F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#C874F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C874F7
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C874F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C874F7 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#C38AAB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c874f7; /* rgb */ color: rgb(200, 116, 247); /* oklch */ color: oklch(70.3% 0.198 312.0);
Tailwind
colors: {
custom: {
50: '#db9ffa',
500: '#c874f7',
950: '#000000',
},
}SCSS
$custom: #c874f7; $custom-light: #db9ffa; $custom-dark: #000000;
JSON
{
"hex": "#c874f7",
"rgb": {
"r": 200,
"g": 116,
"b": 247
},
"hsl": {
"h": 278.473,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.70333,
"c": 0.19841,
"h": 312
},
"luminance": 0.31486
}Semantic roles & 50–950 ramp
primary
#C874F7
secondary
#DFF5D2
accent
#E60052
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85