#C474F2#C474F2
#C474F2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.6% C 0.192 H 311.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C474F2 |
|---|---|
| RGB | rgb(196, 116, 242) |
| HSL | hsl(278, 83%, 70%) |
| HSV | hsv(278, 52%, 95%) |
| CMYK | cmyk(19%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(62.20, 52.72, -51.13) |
| CIE-LCH | lch(62.20, 73.45, 315.88°) |
| OKLab | oklab(69.62% 0.1275 -0.143) |
| OKLCH | oklch(69.62% 0.192 311.7) |
| XYZ | xyz(45.0345, 30.6383, 87.5286) |
| Luminance | 0.3064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.42
Easter Purple
#C071FE
ΔE00 2.32
Light Urple
#B36FF6
ΔE00 3.73
Bright Lavender
#C760FF
ΔE00 4.30
Bright Lilac
#C95EFB
ΔE00 4.42
Liliac
#C48EFD
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C474F2 #A2F274
analogous
#8574F2 #C474F2 #F274E1
triadic
#C474F2 #F2C474 #74F2C4
tetradic
#C474F2 #F28574 #A2F274 #74E1F2
square
#C474F2 #F28574 #A2F274 #74E1F2
split-complementary
#C474F2 #E1F274 #74F285
monochromatic
#9014D7 #AC3CED #C474F2 #DCACF7 #F3E3FC
Accessibility & contrast
On white
2.95
#C474F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#C474F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C474F2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C474F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C474F2 | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#BF89A8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c474f2; /* rgb */ color: rgb(196, 116, 242); /* oklch */ color: oklch(69.6% 0.192 311.7);
Tailwind
colors: {
custom: {
50: '#d89ff7',
500: '#c474f2',
950: '#000000',
},
}SCSS
$custom: #c474f2; $custom-light: #d89ff7; $custom-dark: #000000;
JSON
{
"hex": "#c474f2",
"rgb": {
"r": 196,
"g": 116,
"b": 242
},
"hsl": {
"h": 278.095,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.69622,
"c": 0.19158,
"h": 311.7
},
"luminance": 0.30637
}Semantic roles & 50–950 ramp
primary
#C474F2
secondary
#DCF2CF
accent
#DF0655
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85