#A474F5#A474F5
#A474F5 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.187 H 298.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A474F5 |
|---|---|
| RGB | rgb(164, 116, 245) |
| HSL | hsl(262, 87%, 71%) |
| HSV | hsv(262, 53%, 96%) |
| CMYK | cmyk(33.1%, 52.7%, 0%, 3.9%) |
| CIE-LAB | lab(58.95, 45.38, -58.17) |
| CIE-LCH | lch(58.95, 73.78, 307.96°) |
| OKLab | oklab(66.5% 0.0887 -0.1644) |
| OKLCH | oklch(66.5% 0.187 298.3) |
| XYZ | xyz(38.0326, 26.9755, 89.5715) |
| Luminance | 0.2698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.02
Mediumpurple
#9370DB
ΔE00 4.65
Easter Purple
#C071FE
ΔE00 4.98
Light Purple
#BF77F6
ΔE00 5.16
Lighter Purple
#A55AF4
ΔE00 6.18
Periwinkle (survey)
#8E82FE
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A474F5 #C5F574
analogous
#7484F5 #A474F5 #E574F5
triadic
#A474F5 #F5A474 #74F5A4
tetradic
#A474F5 #F57484 #C5F574 #74F5E5
square
#A474F5 #F57484 #C5F574 #74F5E5
split-complementary
#A474F5 #F5E574 #84F574
monochromatic
#5D10DF #7F3BF1 #A474F5 #C9ADF9 #ECE2FD
Accessibility & contrast
On white
3.28
#A474F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#A474F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A474F5
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A474F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A474F5 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#4F8DF2
Tritanopia (blue-blind)
#928DAA
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a474f5; /* rgb */ color: rgb(164, 116, 245); /* oklch */ color: oklch(66.5% 0.187 298.3);
Tailwind
colors: {
custom: {
50: '#c39df9',
500: '#a474f5',
950: '#000000',
},
}SCSS
$custom: #a474f5; $custom-light: #c39df9; $custom-dark: #000000;
JSON
{
"hex": "#a474f5",
"rgb": {
"r": 164,
"g": 116,
"b": 245
},
"hsl": {
"h": 262.326,
"s": 86.577,
"l": 70.784
},
"oklch": {
"l": 0.66502,
"c": 0.18682,
"h": 298.3
},
"luminance": 0.26976
}Semantic roles & 50–950 ramp
primary
#A474F5
secondary
#E7F4D1
accent
#E3028F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85