#A04FE1#A04FE1
#A04FE1 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.215 H 306.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A04FE1 |
|---|---|
| RGB | rgb(160, 79, 225) |
| HSL | hsl(273, 71%, 60%) |
| HSV | hsv(273, 65%, 88%) |
| CMYK | cmyk(28.9%, 64.9%, 0%, 11.8%) |
| CIE-LAB | lab(50.10, 58.82, -61.21) |
| CIE-LCH | lch(50.10, 84.89, 313.86°) |
| OKLab | oklab(59.55% 0.1279 -0.1734) |
| OKLCH | oklch(59.55% 0.215 306.4) |
| XYZ | xyz(30.8809, 18.5021, 73.1640) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.46
Lighter Purple
#A55AF4
ΔE00 4.10
Purpley
#8756E4
ΔE00 4.71
Electric Purple
#AA23FF
ΔE00 5.90
Amethyst
#9B5FC0
ΔE00 6.28
Mediumorchid
#BA55D3
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A04FE1 #90E14F
analogous
#574FE1 #A04FE1 #E14FD9
triadic
#A04FE1 #E1A04F #4FE1A0
tetradic
#A04FE1 #E1574F #90E14F #4FD9E1
square
#A04FE1 #E1574F #90E14F #4FD9E1
split-complementary
#A04FE1 #D9E14F #4FE157
monochromatic
#621A9B #8323CF #A04FE1 #BC83EA #D8B8F3
Accessibility & contrast
On white
4.47
#A04FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#A04FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A04FE1
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A04FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A04FE1 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#956E91
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a04fe1; /* rgb */ color: rgb(160, 79, 225); /* oklch */ color: oklch(59.5% 0.215 306.4);
Tailwind
colors: {
custom: {
50: '#c185eb',
500: '#a04fe1',
950: '#000000',
},
}SCSS
$custom: #a04fe1; $custom-light: #c185eb; $custom-dark: #000000;
JSON
{
"hex": "#a04fe1",
"rgb": {
"r": 160,
"g": 79,
"b": 225
},
"hsl": {
"h": 273.288,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.59547,
"c": 0.21544,
"h": 306.4
},
"luminance": 0.18502
}Semantic roles & 50–950 ramp
primary
#A04FE1
secondary
#C3E2AA
accent
#EE3A8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84