#A04AF3#A04AF3
#A04AF3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.2% C 0.240 H 303.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A04AF3 |
|---|---|
| RGB | rgb(160, 74, 243) |
| HSL | hsl(271, 88%, 62%) |
| HSV | hsv(271, 70%, 95%) |
| CMYK | cmyk(34.2%, 69.5%, 0%, 4.7%) |
| CIE-LAB | lab(50.50, 65.20, -70.69) |
| CIE-LCH | lch(50.50, 96.17, 312.69°) |
| OKLab | oklab(60.22% 0.1309 -0.2012) |
| OKLCH | oklch(60.22% 0.24 303) |
| XYZ | xyz(33.1199, 18.8422, 86.6687) |
| Luminance | 0.1884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.59
Lighter Purple
#A55AF4
ΔE00 3.67
Electric Purple
#AA23FF
ΔE00 4.48
Purpley
#8756E4
ΔE00 4.68
Neon Purple
#BC13FE
ΔE00 5.45
Bright Violet
#AD0AFD
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A04AF3 #9DF34A
analogous
#4C4AF3 #A04AF3 #F34AF1
triadic
#A04AF3 #F3A04A #4AF3A0
tetradic
#A04AF3 #F34C4A #9DF34A #4AF1F3
square
#A04AF3 #F34C4A #9DF34A #4AF1F3
split-complementary
#A04AF3 #F1F34A #4AF34C
monochromatic
#630CB7 #8211EF #A04AF3 #BE83F7 #DCBDFB
Accessibility & contrast
On white
4.40
#A04AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#A04AF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A04AF3
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A04AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A04AF3 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#8F729A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a04af3; /* rgb */ color: rgb(160, 74, 243); /* oklch */ color: oklch(60.2% 0.240 303.0);
Tailwind
colors: {
custom: {
50: '#c283f8',
500: '#a04af3',
950: '#000000',
},
}SCSS
$custom: #a04af3; $custom-light: #c283f8; $custom-dark: #000000;
JSON
{
"hex": "#a04af3",
"rgb": {
"r": 160,
"g": 74,
"b": 243
},
"hsl": {
"h": 270.533,
"s": 87.565,
"l": 62.157
},
"oklch": {
"l": 0.60223,
"c": 0.24005,
"h": 303
},
"luminance": 0.18842
}Semantic roles & 50–950 ramp
primary
#A04AF3
secondary
#CCEBAD
accent
#E40171
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85