#C474F8#C474F8
#C474F8 is a light, vivid violet. Relative luminance 0.310; OKLCH L 70.0% C 0.198 H 310.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C474F8 |
|---|---|
| RGB | rgb(196, 116, 248) |
| HSL | hsl(276, 90%, 71%) |
| HSV | hsv(276, 53%, 97%) |
| CMYK | cmyk(21%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(62.51, 54.01, -53.95) |
| CIE-LCH | lch(62.51, 76.34, 315.03°) |
| OKLab | oklab(69.95% 0.1279 -0.1512) |
| OKLCH | oklch(69.95% 0.198 310.2) |
| XYZ | xyz(45.9504, 31.0047, 92.3526) |
| Luminance | 0.3100 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.05
Easter Purple
#C071FE
ΔE00 1.53
Light Urple
#B36FF6
ΔE00 3.38
Bright Lavender
#C760FF
ΔE00 4.00
Bright Lilac
#C95EFB
ΔE00 4.28
Liliac
#C48EFD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C474F8 #A8F874
analogous
#8274F8 #C474F8 #F874EA
triadic
#C474F8 #F8C474 #74F8C4
tetradic
#C474F8 #F88274 #A8F874 #74EAF8
square
#C474F8 #F88274 #A8F874 #74EAF8
split-complementary
#C474F8 #EAF874 #74F882
monochromatic
#900CE6 #AB3AF5 #C474F8 #DDAEFB #F3E2FE
Accessibility & contrast
On white
2.92
#C474F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#C474F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C474F8
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C474F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C474F8 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E93FC
Deuteranopia (green-blind)
#6899F5
Tritanopia (blue-blind)
#BD8BAB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c474f8; /* rgb */ color: rgb(196, 116, 248); /* oklch */ color: oklch(70.0% 0.198 310.2);
Tailwind
colors: {
custom: {
50: '#d99ffb',
500: '#c474f8',
950: '#000000',
},
}SCSS
$custom: #c474f8; $custom-light: #d99ffb; $custom-dark: #000000;
JSON
{
"hex": "#c474f8",
"rgb": {
"r": 196,
"g": 116,
"b": 248
},
"hsl": {
"h": 276.364,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.69952,
"c": 0.19807,
"h": 310.2
},
"luminance": 0.31004
}Semantic roles & 50–950 ramp
primary
#C474F8
secondary
#E0F5D3
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85