#C778FE#C778FE
#C778FE is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.2% C 0.200 H 309.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C778FE |
|---|---|
| RGB | rgb(199, 120, 254) |
| HSL | hsl(275, 99%, 73%) |
| HSV | hsv(275, 53%, 100%) |
| CMYK | cmyk(21.7%, 52.8%, 0%, 0.4%) |
| CIE-LAB | lab(63.94, 54.02, -54.96) |
| CIE-LCH | lch(63.94, 77.06, 314.51°) |
| OKLab | oklab(71.18% 0.1268 -0.1541) |
| OKLCH | oklch(71.18% 0.2 309.5) |
| XYZ | xyz(48.1556, 32.7316, 97.5277) |
| Luminance | 0.3273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.58
Easter Purple
#C071FE
ΔE00 2.08
Light Urple
#B36FF6
ΔE00 4.19
Bright Lavender
#C760FF
ΔE00 4.82
Bright Lilac
#C95EFB
ΔE00 5.18
Liliac
#C48EFD
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C778FE #AFFE78
analogous
#8478FE #C778FE #FE78F2
triadic
#C778FE #FEC778 #78FEC7
tetradic
#C778FE #FE8478 #AFFE78 #78F2FE
square
#C778FE #FE8478 #AFFE78 #78F2FE
split-complementary
#C778FE #F2FE78 #78FE84
monochromatic
#9402FA #AE3BFE #C778FE #E0B5FE #F2E1FF
Accessibility & contrast
On white
2.78
#C778FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#C778FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C778FE
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C778FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C778FE | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#C08FB0
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c778fe; /* rgb */ color: rgb(199, 120, 254); /* oklch */ color: oklch(71.2% 0.200 309.5);
Tailwind
colors: {
custom: {
50: '#dba1ff',
500: '#c778fe',
950: '#000000',
},
}SCSS
$custom: #c778fe; $custom-light: #dba1ff; $custom-dark: #000000;
JSON
{
"hex": "#c778fe",
"rgb": {
"r": 199,
"g": 120,
"b": 254
},
"hsl": {
"h": 275.373,
"s": 98.529,
"l": 73.333
},
"oklch": {
"l": 0.71183,
"c": 0.19955,
"h": 309.5
},
"luminance": 0.32731
}Semantic roles & 50–950 ramp
primary
#C778FE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86