#C778F6#C778F6
#C778F6 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.7% C 0.191 H 311.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C778F6 |
|---|---|
| RGB | rgb(199, 120, 246) |
| HSL | hsl(278, 88%, 72%) |
| HSV | hsv(278, 51%, 96%) |
| CMYK | cmyk(19.1%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(63.53, 52.30, -51.21) |
| CIE-LCH | lch(63.53, 73.20, 315.60°) |
| OKLab | oklab(70.75% 0.1262 -0.1432) |
| OKLCH | oklch(70.75% 0.191 311.4) |
| XYZ | xyz(46.9012, 32.2298, 90.9212) |
| Luminance | 0.3223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.54
Easter Purple
#C071FE
ΔE00 2.66
Light Urple
#B36FF6
ΔE00 4.42
Bright Lavender
#C760FF
ΔE00 5.03
Bright Lilac
#C95EFB
ΔE00 5.21
Liliac
#C48EFD
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C778F6 #A7F678
analogous
#8878F6 #C778F6 #F678E6
triadic
#C778F6 #F6C778 #78F6C7
tetradic
#C778F6 #F68878 #A7F678 #78E6F6
square
#C778F6 #F68878 #A7F678 #78E6F6
split-complementary
#C778F6 #E6F678 #78F688
monochromatic
#950FE4 #AF3FF2 #C778F6 #DFB1FA #F3E2FD
Accessibility & contrast
On white
2.82
#C778F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#C778F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C778F6
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C778F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C778F6 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#709BF3
Tritanopia (blue-blind)
#C28DAC
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c778f6; /* rgb */ color: rgb(199, 120, 246); /* oklch */ color: oklch(70.7% 0.191 311.4);
Tailwind
colors: {
custom: {
50: '#daa1fa',
500: '#c778f6',
950: '#000000',
},
}SCSS
$custom: #c778f6; $custom-light: #daa1fa; $custom-dark: #000000;
JSON
{
"hex": "#c778f6",
"rgb": {
"r": 199,
"g": 120,
"b": 246
},
"hsl": {
"h": 277.619,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.70746,
"c": 0.19084,
"h": 311.4
},
"luminance": 0.32229
}Semantic roles & 50–950 ramp
primary
#C778F6
secondary
#E1F5D5
accent
#E40156
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85