#C474F5#C474F5
#C474F5 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.8% C 0.195 H 311.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C474F5 |
|---|---|
| RGB | rgb(196, 116, 245) |
| HSL | hsl(277, 87%, 71%) |
| HSV | hsv(277, 53%, 96%) |
| CMYK | cmyk(20%, 52.7%, 0%, 3.9%) |
| CIE-LAB | lab(62.36, 53.37, -52.55) |
| CIE-LCH | lch(62.36, 74.89, 315.44°) |
| OKLab | oklab(69.79% 0.1277 -0.1471) |
| OKLCH | oklch(69.79% 0.195 311) |
| XYZ | xyz(45.4888, 30.8200, 89.9210) |
| Luminance | 0.3082 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.16
Easter Purple
#C071FE
ΔE00 1.90
Light Urple
#B36FF6
ΔE00 3.52
Bright Lavender
#C760FF
ΔE00 4.12
Bright Lilac
#C95EFB
ΔE00 4.32
Liliac
#C48EFD
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C474F5 #A5F574
analogous
#8374F5 #C474F5 #F574E6
triadic
#C474F5 #F5C474 #74F5C4
tetradic
#C474F5 #F58374 #A5F574 #74E6F5
square
#C474F5 #F58374 #A5F574 #74E6F5
split-complementary
#C474F5 #E6F574 #74F583
monochromatic
#9010DF #AC3BF1 #C474F5 #DCADF9 #F3E2FD
Accessibility & contrast
On white
2.93
#C474F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#C474F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C474F5
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C474F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C474F5 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#BE8AAA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c474f5; /* rgb */ color: rgb(196, 116, 245); /* oklch */ color: oklch(69.8% 0.195 311.0);
Tailwind
colors: {
custom: {
50: '#d89ff9',
500: '#c474f5',
950: '#000000',
},
}SCSS
$custom: #c474f5; $custom-light: #d89ff9; $custom-dark: #000000;
JSON
{
"hex": "#c474f5",
"rgb": {
"r": 196,
"g": 116,
"b": 245
},
"hsl": {
"h": 277.209,
"s": 86.577,
"l": 70.784
},
"oklch": {
"l": 0.69786,
"c": 0.19482,
"h": 311
},
"luminance": 0.30819
}Semantic roles & 50–950 ramp
primary
#C474F5
secondary
#DEF4D1
accent
#E30258
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85