#A452E8#A452E8
#A452E8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.220 H 306.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A452E8 |
|---|---|
| RGB | rgb(164, 82, 232) |
| HSL | hsl(273, 77%, 62%) |
| HSV | hsv(273, 65%, 91%) |
| CMYK | cmyk(29.3%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(51.56, 59.83, -62.79) |
| CIE-LCH | lch(51.56, 86.73, 313.62°) |
| OKLab | oklab(60.85% 0.1291 -0.1779) |
| OKLCH | oklch(60.85% 0.22 306) |
| XYZ | xyz(32.8895, 19.7536, 78.4084) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.37
Lighter Purple
#A55AF4
ΔE00 2.66
Purpley
#8756E4
ΔE00 5.18
Mediumorchid
#BA55D3
ΔE00 6.08
Electric Purple
#AA23FF
ΔE00 6.23
Neon Purple
#BC13FE
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452E8 #96E852
analogous
#5952E8 #A452E8 #E852E1
triadic
#A452E8 #E8A452 #52E8A4
tetradic
#A452E8 #E85952 #96E852 #52E1E8
square
#A452E8 #E85952 #96E852 #52E1E8
split-complementary
#A452E8 #E1E852 #52E859
monochromatic
#6716A9 #871EDF #A452E8 #C088EF #DDBEF6
Accessibility & contrast
On white
4.24
#A452E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#A452E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452E8
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452E8 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#2C7BE5
Tritanopia (blue-blind)
#987296
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a452e8; /* rgb */ color: rgb(164, 82, 232); /* oklch */ color: oklch(60.8% 0.220 306.0);
Tailwind
colors: {
custom: {
50: '#c488f0',
500: '#a452e8',
950: '#000000',
},
}SCSS
$custom: #a452e8; $custom-light: #c488f0; $custom-dark: #000000;
JSON
{
"hex": "#a452e8",
"rgb": {
"r": 164,
"g": 82,
"b": 232
},
"hsl": {
"h": 272.8,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.60847,
"c": 0.21983,
"h": 306
},
"luminance": 0.19753
}Semantic roles & 50–950 ramp
primary
#A452E8
secondary
#C8E7AF
accent
#D90D69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85