#A04FE2#A04FE2
#A04FE2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.216 H 306.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A04FE2 |
|---|---|
| RGB | rgb(160, 79, 226) |
| HSL | hsl(273, 72%, 60%) |
| HSV | hsv(273, 65%, 89%) |
| CMYK | cmyk(29.2%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(50.16, 59.05, -61.67) |
| CIE-LCH | lch(50.16, 85.38, 313.75°) |
| OKLab | oklab(59.61% 0.1278 -0.1747) |
| OKLCH | oklch(59.61% 0.216 306.2) |
| XYZ | xyz(31.0177, 18.5568, 73.8845) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.40
Lighter Purple
#A55AF4
ΔE00 3.99
Purpley
#8756E4
ΔE00 4.66
Electric Purple
#AA23FF
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.39
Neon Purple
#BC13FE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A04FE2 #91E24F
analogous
#574FE2 #A04FE2 #E24FDB
triadic
#A04FE2 #E2A04F #4FE2A0
tetradic
#A04FE2 #E2574F #91E24F #4FDBE2
square
#A04FE2 #E2574F #91E24F #4FDBE2
split-complementary
#A04FE2 #DBE24F #4FE257
monochromatic
#621A9D #8322D1 #A04FE2 #BC84EB #D9B8F3
Accessibility & contrast
On white
4.46
#A04FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#A04FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A04FE2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A04FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A04FE2 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2A78DF
Tritanopia (blue-blind)
#956F92
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a04fe2; /* rgb */ color: rgb(160, 79, 226); /* oklch */ color: oklch(59.6% 0.216 306.2);
Tailwind
colors: {
custom: {
50: '#c185ec',
500: '#a04fe2',
950: '#000000',
},
}SCSS
$custom: #a04fe2; $custom-light: #c185ec; $custom-dark: #000000;
JSON
{
"hex": "#a04fe2",
"rgb": {
"r": 160,
"g": 79,
"b": 226
},
"hsl": {
"h": 273.061,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.59615,
"c": 0.21648,
"h": 306.2
},
"luminance": 0.18557
}Semantic roles & 50–950 ramp
primary
#A04FE2
secondary
#C4E3AA
accent
#EE398B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84