#C778FD#C778FD
#C778FD is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.1% C 0.198 H 309.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C778FD |
|---|---|
| RGB | rgb(199, 120, 253) |
| HSL | hsl(276, 97%, 73%) |
| HSV | hsv(276, 53%, 99%) |
| CMYK | cmyk(21.3%, 52.6%, 0%, 0.8%) |
| CIE-LAB | lab(63.89, 53.80, -54.49) |
| CIE-LCH | lch(63.89, 76.58, 314.64°) |
| OKLab | oklab(71.13% 0.1267 -0.1527) |
| OKLCH | oklch(71.13% 0.198 309.7) |
| XYZ | xyz(47.9959, 32.6677, 96.6866) |
| Luminance | 0.3267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.52
Easter Purple
#C071FE
ΔE00 2.12
Light Urple
#B36FF6
ΔE00 4.20
Bright Lavender
#C760FF
ΔE00 4.83
Bright Lilac
#C95EFB
ΔE00 5.17
Liliac
#C48EFD
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C778FD #AEFD78
analogous
#8478FD #C778FD #FD78F0
triadic
#C778FD #FDC778 #78FDC7
tetradic
#C778FD #FD8478 #AEFD78 #78F0FD
square
#C778FD #FD8478 #AEFD78 #78F0FD
split-complementary
#C778FD #F0FD78 #78FD84
monochromatic
#9404F7 #AE3CFC #C778FD #E0B4FE #F2E1FF
Accessibility & contrast
On white
2.79
#C778FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#C778FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C778FD
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C778FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C778FD | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#C08FAF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c778fd; /* rgb */ color: rgb(199, 120, 253); /* oklch */ color: oklch(71.1% 0.198 309.7);
Tailwind
colors: {
custom: {
50: '#dba1fe',
500: '#c778fd',
950: '#000000',
},
}SCSS
$custom: #c778fd; $custom-light: #dba1fe; $custom-dark: #000000;
JSON
{
"hex": "#c778fd",
"rgb": {
"r": 199,
"g": 120,
"b": 253
},
"hsl": {
"h": 275.639,
"s": 97.08,
"l": 73.137
},
"oklch": {
"l": 0.71127,
"c": 0.19846,
"h": 309.7
},
"luminance": 0.32667
}Semantic roles & 50–950 ramp
primary
#C778FD
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86