#C774F8#C774F8
#C774F8 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.3% C 0.199 H 311.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C774F8 |
|---|---|
| RGB | rgb(199, 116, 248) |
| HSL | hsl(278, 90%, 71%) |
| HSV | hsv(278, 53%, 97%) |
| CMYK | cmyk(19.8%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(62.85, 54.77, -53.39) |
| CIE-LCH | lch(62.85, 76.49, 315.73°) |
| OKLab | oklab(70.28% 0.1315 -0.1495) |
| OKLCH | oklch(70.28% 0.199 311.3) |
| XYZ | xyz(46.7388, 31.4112, 92.3896) |
| Luminance | 0.3141 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.49
Easter Purple
#C071FE
ΔE00 1.96
Light Urple
#B36FF6
ΔE00 3.90
Bright Lavender
#C760FF
ΔE00 4.09
Bright Lilac
#C95EFB
ΔE00 4.30
Liliac
#C48EFD
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C774F8 #A5F874
analogous
#8574F8 #C774F8 #F874E7
triadic
#C774F8 #F8C774 #74F8C7
tetradic
#C774F8 #F88574 #A5F874 #74E7F8
square
#C774F8 #F88574 #A5F874 #74E7F8
split-complementary
#C774F8 #E7F874 #74F885
monochromatic
#950CE6 #B03AF5 #C774F8 #DEAEFB #F3E2FE
Accessibility & contrast
On white
2.88
#C774F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#C774F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C774F8
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C774F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C774F8 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#C18BAB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c774f8; /* rgb */ color: rgb(199, 116, 248); /* oklch */ color: oklch(70.3% 0.199 311.3);
Tailwind
colors: {
custom: {
50: '#db9ffb',
500: '#c774f8',
950: '#000000',
},
}SCSS
$custom: #c774f8; $custom-light: #db9ffb; $custom-dark: #000000;
JSON
{
"hex": "#c774f8",
"rgb": {
"r": 199,
"g": 116,
"b": 248
},
"hsl": {
"h": 277.727,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.70278,
"c": 0.19912,
"h": 311.3
},
"luminance": 0.3141
}Semantic roles & 50–950 ramp
primary
#C774F8
secondary
#DFF5D3
accent
#E60055
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85