#C778FC#C778FC
#C778FC is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.1% C 0.197 H 309.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C778FC |
|---|---|
| RGB | rgb(199, 120, 252) |
| HSL | hsl(276, 96%, 73%) |
| HSV | hsv(276, 52%, 99%) |
| CMYK | cmyk(21%, 52.4%, 0%, 1.2%) |
| CIE-LAB | lab(63.84, 53.59, -54.02) |
| CIE-LCH | lch(63.84, 76.09, 314.77°) |
| OKLab | oklab(71.07% 0.1267 -0.1514) |
| OKLCH | oklch(71.07% 0.197 309.9) |
| XYZ | xyz(47.8370, 32.6042, 95.8498) |
| Luminance | 0.3260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.47
Easter Purple
#C071FE
ΔE00 2.17
Light Urple
#B36FF6
ΔE00 4.21
Bright Lavender
#C760FF
ΔE00 4.85
Bright Lilac
#C95EFB
ΔE00 5.16
Liliac
#C48EFD
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C778FC #ADFC78
analogous
#8578FC #C778FC #FC78EF
triadic
#C778FC #FCC778 #78FCC7
tetradic
#C778FC #FC8578 #ADFC78 #78EFFC
square
#C778FC #FC8578 #ADFC78 #78EFFC
split-complementary
#C778FC #EFFC78 #78FC85
monochromatic
#9405F4 #AE3CFB #C778FC #E0B4FD #F3E1FE
Accessibility & contrast
On white
2.79
#C778FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#C778FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C778FC
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C778FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C778FC | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6C9CF9
Tritanopia (blue-blind)
#C08FAF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c778fc; /* rgb */ color: rgb(199, 120, 252); /* oklch */ color: oklch(71.1% 0.197 309.9);
Tailwind
colors: {
custom: {
50: '#dba1fe',
500: '#c778fc',
950: '#000000',
},
}SCSS
$custom: #c778fc; $custom-light: #dba1fe; $custom-dark: #000000;
JSON
{
"hex": "#c778fc",
"rgb": {
"r": 199,
"g": 120,
"b": 252
},
"hsl": {
"h": 275.909,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.71072,
"c": 0.19737,
"h": 309.9
},
"luminance": 0.32603
}Semantic roles & 50–950 ramp
primary
#C778FC
secondary
#E2F7D4
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86