#C478F6#C478F6
#C478F6 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.4% C 0.190 H 310.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C478F6 |
|---|---|
| RGB | rgb(196, 120, 246) |
| HSL | hsl(276, 88%, 72%) |
| HSV | hsv(276, 51%, 96%) |
| CMYK | cmyk(20.3%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(63.20, 51.52, -51.76) |
| CIE-LCH | lch(63.20, 73.03, 314.86°) |
| OKLab | oklab(70.42% 0.1226 -0.1448) |
| OKLCH | oklch(70.42% 0.19 310.2) |
| XYZ | xyz(46.1129, 31.8233, 90.8842) |
| Luminance | 0.3182 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.98
Easter Purple
#C071FE
ΔE00 2.30
Light Urple
#B36FF6
ΔE00 3.93
Bright Lavender
#C760FF
ΔE00 4.94
Bright Lilac
#C95EFB
ΔE00 5.18
Liliac
#C48EFD
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C478F6 #AAF678
analogous
#8578F6 #C478F6 #F678E9
triadic
#C478F6 #F6C478 #78F6C4
tetradic
#C478F6 #F68578 #AAF678 #78E9F6
square
#C478F6 #F68578 #AAF678 #78E9F6
split-complementary
#C478F6 #E9F678 #78F685
monochromatic
#900FE4 #AB3FF2 #C478F6 #DDB1FA #F2E2FD
Accessibility & contrast
On white
2.85
#C478F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#C478F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C478F6
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C478F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C478F6 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5695FA
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#BE8DAC
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c478f6; /* rgb */ color: rgb(196, 120, 246); /* oklch */ color: oklch(70.4% 0.190 310.2);
Tailwind
colors: {
custom: {
50: '#d8a1fa',
500: '#c478f6',
950: '#000000',
},
}SCSS
$custom: #c478f6; $custom-light: #d8a1fa; $custom-dark: #000000;
JSON
{
"hex": "#c478f6",
"rgb": {
"r": 196,
"g": 120,
"b": 246
},
"hsl": {
"h": 276.19,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.70424,
"c": 0.18977,
"h": 310.2
},
"luminance": 0.31823
}Semantic roles & 50–950 ramp
primary
#C478F6
secondary
#E2F5D5
accent
#E4015B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85