#C478FE#C478FE
#C478FE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.9% C 0.199 H 308.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C478FE |
|---|---|
| RGB | rgb(196, 120, 254) |
| HSL | hsl(274, 99%, 73%) |
| HSV | hsv(274, 53%, 100%) |
| CMYK | cmyk(22.8%, 52.8%, 0%, 0.4%) |
| CIE-LAB | lab(63.61, 53.27, -55.51) |
| CIE-LCH | lch(63.61, 76.93, 313.82°) |
| OKLab | oklab(70.86% 0.1232 -0.1558) |
| OKLCH | oklch(70.86% 0.199 308.3) |
| XYZ | xyz(47.3673, 32.3251, 97.4908) |
| Luminance | 0.3232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.27
Easter Purple
#C071FE
ΔE00 1.76
Light Urple
#B36FF6
ΔE00 3.75
Bright Lavender
#C760FF
ΔE00 4.78
Bright Lilac
#C95EFB
ΔE00 5.19
Liliac
#C48EFD
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C478FE #B2FE78
analogous
#8178FE #C478FE #FE78F5
triadic
#C478FE #FEC478 #78FEC4
tetradic
#C478FE #FE8178 #B2FE78 #78F5FE
square
#C478FE #FE8178 #B2FE78 #78F5FE
split-complementary
#C478FE #F5FE78 #78FE81
monochromatic
#8E02FA #A93BFE #C478FE #DFB5FE #F2E1FF
Accessibility & contrast
On white
2.81
#C478FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#C478FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C478FE
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C478FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C478FE | 1.00 | 2.81 | 7.46 | 7.46 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#BC90B0
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c478fe; /* rgb */ color: rgb(196, 120, 254); /* oklch */ color: oklch(70.9% 0.199 308.3);
Tailwind
colors: {
custom: {
50: '#d9a1ff',
500: '#c478fe',
950: '#000000',
},
}SCSS
$custom: #c478fe; $custom-light: #d9a1ff; $custom-dark: #000000;
JSON
{
"hex": "#c478fe",
"rgb": {
"r": 196,
"g": 120,
"b": 254
},
"hsl": {
"h": 274.03,
"s": 98.529,
"l": 73.333
},
"oklch": {
"l": 0.70864,
"c": 0.1986,
"h": 308.3
},
"luminance": 0.32324
}Semantic roles & 50–950 ramp
primary
#C478FE
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86