#C478EB#C478EB
#C478EB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.8% C 0.178 H 313.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C478EB |
|---|---|
| RGB | rgb(196, 120, 235) |
| HSL | hsl(280, 74%, 70%) |
| HSV | hsv(280, 49%, 92%) |
| CMYK | cmyk(16.6%, 48.9%, 0%, 7.8%) |
| CIE-LAB | lab(62.65, 49.17, -46.55) |
| CIE-LCH | lch(62.65, 67.71, 316.57°) |
| OKLab | oklab(69.84% 0.1215 -0.1297) |
| OKLCH | oklch(69.84% 0.178 313.1) |
| XYZ | xyz(44.4743, 31.1679, 82.2543) |
| Luminance | 0.3117 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.36
Easter Purple
#C071FE
ΔE00 3.76
Light Urple
#B36FF6
ΔE00 4.83
Bright Lavender
#C760FF
ΔE00 5.68
Bright Lilac
#C95EFB
ΔE00 5.68
Liliac
#C48EFD
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C478EB #9FEB78
analogous
#8B78EB #C478EB #EB78D9
triadic
#C478EB #EBC478 #78EBC4
tetradic
#C478EB #EB8B78 #9FEB78 #78D9EB
square
#C478EB #EB8B78 #9FEB78 #78D9EB
split-complementary
#C478EB #D9EB78 #78EB8B
monochromatic
#901ECB #AD43E3 #C478EB #DBADF3 #F3E3FB
Accessibility & contrast
On white
2.90
#C478EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#C478EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C478EB
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C478EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C478EB | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#C08AA7
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c478eb; /* rgb */ color: rgb(196, 120, 235); /* oklch */ color: oklch(69.8% 0.178 313.1);
Tailwind
colors: {
custom: {
50: '#d8a1f2',
500: '#c478eb',
950: '#000000',
},
}SCSS
$custom: #c478eb; $custom-light: #d8a1f2; $custom-dark: #000000;
JSON
{
"hex": "#c478eb",
"rgb": {
"r": 196,
"g": 120,
"b": 235
},
"hsl": {
"h": 279.652,
"s": 74.194,
"l": 69.608
},
"oklch": {
"l": 0.6984,
"c": 0.17769,
"h": 313.1
},
"luminance": 0.31167
}Semantic roles & 50–950 ramp
primary
#C478EB
secondary
#DAF0CF
accent
#D60F53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85