#C778FB#C778FB
#C778FB is a light, vivid violet. Relative luminance 0.325; OKLCH L 71.0% C 0.196 H 310.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C778FB |
|---|---|
| RGB | rgb(199, 120, 251) |
| HSL | hsl(276, 94%, 73%) |
| HSV | hsv(276, 52%, 98%) |
| CMYK | cmyk(20.7%, 52.2%, 0%, 1.6%) |
| CIE-LAB | lab(63.79, 53.37, -53.56) |
| CIE-LCH | lch(63.79, 75.61, 314.90°) |
| OKLab | oklab(71.02% 0.1266 -0.15) |
| OKLCH | oklch(71.02% 0.196 310.2) |
| XYZ | xyz(47.6790, 32.5409, 95.0174) |
| Luminance | 0.3254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.44
Easter Purple
#C071FE
ΔE00 2.23
Light Urple
#B36FF6
ΔE00 4.23
Bright Lavender
#C760FF
ΔE00 4.86
Bright Lilac
#C95EFB
ΔE00 5.15
Liliac
#C48EFD
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C778FB #ACFB78
analogous
#8578FB #C778FB #FB78EE
triadic
#C778FB #FBC778 #78FBC7
tetradic
#C778FB #FB8578 #ACFB78 #78EEFB
square
#C778FB #FB8578 #ACFB78 #78EEFB
split-complementary
#C778FB #EEFB78 #78FB85
monochromatic
#9407F1 #AE3DF9 #C778FB #E0B3FD #F3E1FE
Accessibility & contrast
On white
2.80
#C778FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#C778FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C778FB
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C778FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C778FB | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#C08EAE
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c778fb; /* rgb */ color: rgb(199, 120, 251); /* oklch */ color: oklch(71.0% 0.196 310.2);
Tailwind
colors: {
custom: {
50: '#dba1fd',
500: '#c778fb',
950: '#000000',
},
}SCSS
$custom: #c778fb; $custom-light: #dba1fd; $custom-dark: #000000;
JSON
{
"hex": "#c778fb",
"rgb": {
"r": 199,
"g": 120,
"b": 251
},
"hsl": {
"h": 276.183,
"s": 94.245,
"l": 72.745
},
"oklch": {
"l": 0.71017,
"c": 0.19628,
"h": 310.2
},
"luminance": 0.3254
}Semantic roles & 50–950 ramp
primary
#C778FB
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86