#A452EC#A452EC
#A452EC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.1% C 0.224 H 305.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A452EC |
|---|---|
| RGB | rgb(164, 82, 236) |
| HSL | hsl(272, 80%, 62%) |
| HSV | hsv(272, 65%, 93%) |
| CMYK | cmyk(30.5%, 65.3%, 0%, 7.5%) |
| CIE-LAB | lab(51.82, 60.74, -64.61) |
| CIE-LCH | lch(51.82, 88.68, 313.23°) |
| OKLab | oklab(61.12% 0.1288 -0.1833) |
| OKLCH | oklch(61.12% 0.224 305.1) |
| XYZ | xyz(33.4641, 19.9834, 81.4349) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.91
Lighter Purple
#A55AF4
ΔE00 2.25
Purpley
#8756E4
ΔE00 5.15
Electric Purple
#AA23FF
ΔE00 6.13
Neon Purple
#BC13FE
ΔE00 6.37
Mediumorchid
#BA55D3
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452EC #9AEC52
analogous
#5752EC #A452EC #EC52E7
triadic
#A452EC #ECA452 #52ECA4
tetradic
#A452EC #EC5752 #9AEC52 #52E7EC
square
#A452EC #EC5752 #9AEC52 #52E7EC
split-complementary
#A452EC #E7EC52 #52EC57
monochromatic
#6713B0 #871BE6 #A452EC #C189F2 #DEC0F8
Accessibility & contrast
On white
4.20
#A452EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#A452EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452EC
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452EC | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#977498
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a452ec; /* rgb */ color: rgb(164, 82, 236); /* oklch */ color: oklch(61.1% 0.224 305.1);
Tailwind
colors: {
custom: {
50: '#c488f3',
500: '#a452ec',
950: '#000000',
},
}SCSS
$custom: #a452ec; $custom-light: #c488f3; $custom-dark: #000000;
JSON
{
"hex": "#a452ec",
"rgb": {
"r": 164,
"g": 82,
"b": 236
},
"hsl": {
"h": 271.948,
"s": 80.208,
"l": 62.353
},
"oklch": {
"l": 0.61118,
"c": 0.224,
"h": 305.1
},
"luminance": 0.19983
}Semantic roles & 50–950 ramp
primary
#A452EC
secondary
#CBE9B1
accent
#DD096C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85