#A474F8#A474F8
#A474F8 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.190 H 297.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A474F8 |
|---|---|
| RGB | rgb(164, 116, 248) |
| HSL | hsl(262, 90%, 71%) |
| HSV | hsv(262, 53%, 97%) |
| CMYK | cmyk(33.9%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(59.12, 46.13, -59.56) |
| CIE-LCH | lch(59.12, 75.33, 307.76°) |
| OKLab | oklab(66.68% 0.0889 -0.1685) |
| OKLCH | oklch(66.68% 0.19 297.8) |
| XYZ | xyz(38.4943, 27.1601, 92.0031) |
| Luminance | 0.2716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.13
Mediumpurple
#9370DB
ΔE00 4.96
Easter Purple
#C071FE
ΔE00 5.00
Light Purple
#BF77F6
ΔE00 5.27
Lighter Purple
#A55AF4
ΔE00 6.23
Periwinkle (survey)
#8E82FE
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A474F8 #C8F874
analogous
#7486F8 #A474F8 #E674F8
triadic
#A474F8 #F8A474 #74F8A4
tetradic
#A474F8 #F87486 #C8F874 #74F8E6
square
#A474F8 #F87486 #C8F874 #74F8E6
split-complementary
#A474F8 #F8E674 #86F874
monochromatic
#5B0CE6 #7E3AF5 #A474F8 #CAAEFB #ECE2FE
Accessibility & contrast
On white
3.26
#A474F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#A474F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A474F8
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A474F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A474F8 | 1.00 | 3.26 | 6.43 | 6.43 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8FFC
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#918EAB
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a474f8; /* rgb */ color: rgb(164, 116, 248); /* oklch */ color: oklch(66.7% 0.190 297.8);
Tailwind
colors: {
custom: {
50: '#c39dfb',
500: '#a474f8',
950: '#000000',
},
}SCSS
$custom: #a474f8; $custom-light: #c39dfb; $custom-dark: #000000;
JSON
{
"hex": "#a474f8",
"rgb": {
"r": 164,
"g": 116,
"b": 248
},
"hsl": {
"h": 261.818,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.66683,
"c": 0.19048,
"h": 297.8
},
"luminance": 0.27161
}Semantic roles & 50–950 ramp
primary
#A474F8
secondary
#E9F5D3
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85