#C774F7#C774F7
#C774F7 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.2% C 0.198 H 311.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C774F7 |
|---|---|
| RGB | rgb(199, 116, 247) |
| HSL | hsl(278, 89%, 71%) |
| HSV | hsv(278, 53%, 97%) |
| CMYK | cmyk(19.4%, 53%, 0%, 3.1%) |
| CIE-LAB | lab(62.80, 54.56, -52.92) |
| CIE-LCH | lch(62.80, 76.01, 315.87°) |
| OKLab | oklab(70.22% 0.1315 -0.1481) |
| OKLCH | oklch(70.22% 0.198 311.6) |
| XYZ | xyz(46.5841, 31.3493, 91.5747) |
| Luminance | 0.3135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.52
Easter Purple
#C071FE
ΔE00 2.08
Light Urple
#B36FF6
ΔE00 3.95
Bright Lavender
#C760FF
ΔE00 4.13
Bright Lilac
#C95EFB
ΔE00 4.32
Liliac
#C48EFD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C774F7 #A4F774
analogous
#8574F7 #C774F7 #F774E6
triadic
#C774F7 #F7C774 #74F7C7
tetradic
#C774F7 #F78574 #A4F774 #74E6F7
square
#C774F7 #F78574 #A4F774 #74E6F7
split-complementary
#C774F7 #E6F774 #74F785
monochromatic
#950DE4 #B03AF4 #C774F7 #DEAEFA #F3E2FD
Accessibility & contrast
On white
2.89
#C774F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#C774F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C774F7
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C774F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C774F7 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#C28AAB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c774f7; /* rgb */ color: rgb(199, 116, 247); /* oklch */ color: oklch(70.2% 0.198 311.6);
Tailwind
colors: {
custom: {
50: '#db9ffa',
500: '#c774f7',
950: '#000000',
},
}SCSS
$custom: #c774f7; $custom-light: #db9ffa; $custom-dark: #000000;
JSON
{
"hex": "#c774f7",
"rgb": {
"r": 199,
"g": 116,
"b": 247
},
"hsl": {
"h": 278.015,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.70223,
"c": 0.19804,
"h": 311.6
},
"luminance": 0.31348
}Semantic roles & 50–950 ramp
primary
#C774F7
secondary
#DFF5D2
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85