#C778F8#C778F8
#C778F8 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.9% C 0.193 H 310.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C778F8 |
|---|---|
| RGB | rgb(199, 120, 248) |
| HSL | hsl(277, 90%, 72%) |
| HSV | hsv(277, 52%, 97%) |
| CMYK | cmyk(19.8%, 51.6%, 0%, 2.7%) |
| CIE-LAB | lab(63.63, 52.73, -52.15) |
| CIE-LCH | lch(63.63, 74.16, 315.31°) |
| OKLab | oklab(70.85% 0.1264 -0.1459) |
| OKLCH | oklch(70.85% 0.193 310.9) |
| XYZ | xyz(47.2098, 32.3533, 92.5466) |
| Luminance | 0.3235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.45
Easter Purple
#C071FE
ΔE00 2.47
Light Urple
#B36FF6
ΔE00 4.33
Bright Lavender
#C760FF
ΔE00 4.95
Bright Lilac
#C95EFB
ΔE00 5.17
Liliac
#C48EFD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C778F8 #A9F878
analogous
#8778F8 #C778F8 #F878E9
triadic
#C778F8 #F8C778 #78F8C7
tetradic
#C778F8 #F88778 #A9F878 #78E9F8
square
#C778F8 #F88778 #A9F878 #78E9F8
split-complementary
#C778F8 #E9F878 #78F887
monochromatic
#950CE9 #AF3EF5 #C778F8 #DFB2FB #F3E2FD
Accessibility & contrast
On white
2.81
#C778F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#C778F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C778F8
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C778F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C778F8 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#C18EAD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c778f8; /* rgb */ color: rgb(199, 120, 248); /* oklch */ color: oklch(70.9% 0.193 310.9);
Tailwind
colors: {
custom: {
50: '#dba1fb',
500: '#c778f8',
950: '#000000',
},
}SCSS
$custom: #c778f8; $custom-light: #dba1fb; $custom-dark: #000000;
JSON
{
"hex": "#c778f8",
"rgb": {
"r": 199,
"g": 120,
"b": 248
},
"hsl": {
"h": 277.031,
"s": 90.141,
"l": 72.157
},
"oklch": {
"l": 0.70854,
"c": 0.19301,
"h": 310.9
},
"luminance": 0.32352
}Semantic roles & 50–950 ramp
primary
#C778F8
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85