#C778F7#C778F7
#C778F7 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.8% C 0.192 H 311.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C778F7 |
|---|---|
| RGB | rgb(199, 120, 247) |
| HSL | hsl(277, 89%, 72%) |
| HSV | hsv(277, 51%, 97%) |
| CMYK | cmyk(19.4%, 51.4%, 0%, 3.1%) |
| CIE-LAB | lab(63.58, 52.51, -51.68) |
| CIE-LCH | lch(63.58, 73.68, 315.46°) |
| OKLab | oklab(70.8% 0.1263 -0.1445) |
| OKLCH | oklch(70.8% 0.192 311.1) |
| XYZ | xyz(47.0551, 32.2914, 91.7317) |
| Luminance | 0.3229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.48
Easter Purple
#C071FE
ΔE00 2.56
Light Urple
#B36FF6
ΔE00 4.37
Bright Lavender
#C760FF
ΔE00 4.99
Bright Lilac
#C95EFB
ΔE00 5.19
Liliac
#C48EFD
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C778F7 #A8F778
analogous
#8878F7 #C778F7 #F778E7
triadic
#C778F7 #F7C778 #78F7C7
tetradic
#C778F7 #F78878 #A8F778 #78E7F7
square
#C778F7 #F78878 #A8F778 #78E7F7
split-complementary
#C778F7 #E7F778 #78F788
monochromatic
#950EE7 #AF3EF4 #C778F7 #DFB2FA #F3E2FD
Accessibility & contrast
On white
2.82
#C778F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#C778F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C778F7
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C778F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C778F7 | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#C18DAD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c778f7; /* rgb */ color: rgb(199, 120, 247); /* oklch */ color: oklch(70.8% 0.192 311.1);
Tailwind
colors: {
custom: {
50: '#daa1fa',
500: '#c778f7',
950: '#000000',
},
}SCSS
$custom: #c778f7; $custom-light: #daa1fa; $custom-dark: #000000;
JSON
{
"hex": "#c778f7",
"rgb": {
"r": 199,
"g": 120,
"b": 247
},
"hsl": {
"h": 277.323,
"s": 88.811,
"l": 71.961
},
"oklch": {
"l": 0.708,
"c": 0.19192,
"h": 311.1
},
"luminance": 0.3229
}Semantic roles & 50–950 ramp
primary
#C778F7
secondary
#E2F5D5
accent
#E50057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85