#A452E9#A452E9
#A452E9 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.221 H 305.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A452E9 |
|---|---|
| RGB | rgb(164, 82, 233) |
| HSL | hsl(273, 77%, 62%) |
| HSV | hsv(273, 65%, 91%) |
| CMYK | cmyk(29.6%, 64.8%, 0%, 8.6%) |
| CIE-LAB | lab(51.62, 60.06, -63.25) |
| CIE-LCH | lch(51.62, 87.22, 313.52°) |
| OKLab | oklab(60.92% 0.1291 -0.1792) |
| OKLCH | oklch(60.92% 0.221 305.8) |
| XYZ | xyz(33.0319, 19.8106, 79.1586) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.50
Lighter Purple
#A55AF4
ΔE00 2.55
Purpley
#8756E4
ΔE00 5.17
Mediumorchid
#BA55D3
ΔE00 6.17
Electric Purple
#AA23FF
ΔE00 6.20
Neon Purple
#BC13FE
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452E9 #97E952
analogous
#5952E9 #A452E9 #E952E2
triadic
#A452E9 #E9A452 #52E9A4
tetradic
#A452E9 #E95952 #97E952 #52E2E9
square
#A452E9 #E95952 #97E952 #52E2E9
split-complementary
#A452E9 #E2E952 #52E959
monochromatic
#6716AB #871DE1 #A452E9 #C188F0 #DDBFF7
Accessibility & contrast
On white
4.23
#A452E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#A452E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452E9
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452E9 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#2A7BE6
Tritanopia (blue-blind)
#987297
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a452e9; /* rgb */ color: rgb(164, 82, 233); /* oklch */ color: oklch(60.9% 0.221 305.8);
Tailwind
colors: {
custom: {
50: '#c488f1',
500: '#a452e9',
950: '#000000',
},
}SCSS
$custom: #a452e9; $custom-light: #c488f1; $custom-dark: #000000;
JSON
{
"hex": "#a452e9",
"rgb": {
"r": 164,
"g": 82,
"b": 233
},
"hsl": {
"h": 272.583,
"s": 77.436,
"l": 61.765
},
"oklch": {
"l": 0.60915,
"c": 0.22088,
"h": 305.8
},
"luminance": 0.1981
}Semantic roles & 50–950 ramp
primary
#A452E9
secondary
#C9E7AF
accent
#DA0C6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85