#C478F8#C478F8
#C478F8 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.5% C 0.192 H 309.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #C478F8 |
|---|---|
| RGB | rgb(196, 120, 248) |
| HSL | hsl(276, 90%, 72%) |
| HSV | hsv(276, 52%, 97%) |
| CMYK | cmyk(21%, 51.6%, 0%, 2.7%) |
| CIE-LAB | lab(63.30, 51.95, -52.70) |
| CIE-LCH | lch(63.30, 74.01, 314.59°) |
| OKLab | oklab(70.53% 0.1228 -0.1476) |
| OKLCH | oklch(70.53% 0.192 309.8) |
| XYZ | xyz(46.4215, 31.9468, 92.5096) |
| Luminance | 0.3195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.92
Easter Purple
#C071FE
ΔE00 2.11
Light Urple
#B36FF6
ΔE00 3.85
Bright Lavender
#C760FF
ΔE00 4.87
Bright Lilac
#C95EFB
ΔE00 5.15
Liliac
#C48EFD
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C478F8 #ACF878
analogous
#8478F8 #C478F8 #F878EC
triadic
#C478F8 #F8C478 #78F8C4
tetradic
#C478F8 #F88478 #ACF878 #78ECF8
square
#C478F8 #F88478 #ACF878 #78ECF8
split-complementary
#C478F8 #ECF878 #78F884
monochromatic
#900CE9 #AB3EF5 #C478F8 #DDB2FB #F2E2FD
Accessibility & contrast
On white
2.84
#C478F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#C478F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C478F8
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C478F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C478F8 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#BD8EAD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c478f8; /* rgb */ color: rgb(196, 120, 248); /* oklch */ color: oklch(70.5% 0.192 309.8);
Tailwind
colors: {
custom: {
50: '#d8a1fb',
500: '#c478f8',
950: '#000000',
},
}SCSS
$custom: #c478f8; $custom-light: #d8a1fb; $custom-dark: #000000;
JSON
{
"hex": "#c478f8",
"rgb": {
"r": 196,
"g": 120,
"b": 248
},
"hsl": {
"h": 275.625,
"s": 90.141,
"l": 72.157
},
"oklch": {
"l": 0.70532,
"c": 0.19197,
"h": 309.8
},
"luminance": 0.31946
}Semantic roles & 50–950 ramp
primary
#C478F8
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85