#C478FB#C478FB
#C478FB is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.7% C 0.195 H 309.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C478FB |
|---|---|
| RGB | rgb(196, 120, 251) |
| HSL | hsl(275, 94%, 73%) |
| HSV | hsv(275, 52%, 98%) |
| CMYK | cmyk(21.9%, 52.2%, 0%, 1.6%) |
| CIE-LAB | lab(63.45, 52.61, -54.11) |
| CIE-LCH | lch(63.45, 75.47, 314.19°) |
| OKLab | oklab(70.7% 0.123 -0.1517) |
| OKLCH | oklch(70.7% 0.195 309) |
| XYZ | xyz(46.8906, 32.1345, 94.9805) |
| Luminance | 0.3213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.01
Easter Purple
#C071FE
ΔE00 1.88
Light Urple
#B36FF6
ΔE00 3.77
Bright Lavender
#C760FF
ΔE00 4.80
Bright Lilac
#C95EFB
ΔE00 5.15
Liliac
#C48EFD
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C478FB #AFFB78
analogous
#8278FB #C478FB #FB78F1
triadic
#C478FB #FBC478 #78FBC4
tetradic
#C478FB #FB8278 #AFFB78 #78F1FB
square
#C478FB #FB8278 #AFFB78 #78F1FB
split-complementary
#C478FB #F1FB78 #78FB82
monochromatic
#8F07F1 #AA3DF9 #C478FB #DEB3FD #F2E1FE
Accessibility & contrast
On white
2.83
#C478FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#C478FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C478FB
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C478FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C478FB | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#BD8FAE
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c478fb; /* rgb */ color: rgb(196, 120, 251); /* oklch */ color: oklch(70.7% 0.195 309.0);
Tailwind
colors: {
custom: {
50: '#d9a1fd',
500: '#c478fb',
950: '#000000',
},
}SCSS
$custom: #c478fb; $custom-light: #d9a1fd; $custom-dark: #000000;
JSON
{
"hex": "#c478fb",
"rgb": {
"r": 196,
"g": 120,
"b": 251
},
"hsl": {
"h": 274.809,
"s": 94.245,
"l": 72.745
},
"oklch": {
"l": 0.70697,
"c": 0.19528,
"h": 309
},
"luminance": 0.32134
}Semantic roles & 50–950 ramp
primary
#C478FB
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86