#A452E4#A452E4
#A452E4 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.216 H 306.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A452E4 |
|---|---|
| RGB | rgb(164, 82, 228) |
| HSL | hsl(274, 73%, 61%) |
| HSV | hsv(274, 64%, 89%) |
| CMYK | cmyk(28.1%, 64%, 0%, 10.6%) |
| CIE-LAB | lab(51.30, 58.93, -60.95) |
| CIE-LCH | lch(51.30, 84.78, 314.04°) |
| OKLab | oklab(60.58% 0.1295 -0.1725) |
| OKLCH | oklch(60.58% 0.216 306.9) |
| XYZ | xyz(32.3278, 19.5289, 75.4501) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.32
Lighter Purple
#A55AF4
ΔE00 3.12
Purpley
#8756E4
ΔE00 5.29
Mediumorchid
#BA55D3
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 6.24
Electric Purple
#AA23FF
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452E4 #92E452
analogous
#5B52E4 #A452E4 #E452DB
triadic
#A452E4 #E4A452 #52E4A4
tetradic
#A452E4 #E45B52 #92E452 #52DBE4
square
#A452E4 #E45B52 #92E452 #52DBE4
split-complementary
#A452E4 #DBE452 #52E45B
monochromatic
#6619A2 #8822D7 #A452E4 #C087EC #DCBCF5
Accessibility & contrast
On white
4.28
#A452E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#A452E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452E4
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452E4 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#327BE1
Tritanopia (blue-blind)
#9A7194
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a452e4; /* rgb */ color: rgb(164, 82, 228); /* oklch */ color: oklch(60.6% 0.216 306.9);
Tailwind
colors: {
custom: {
50: '#c387ed',
500: '#a452e4',
950: '#000000',
},
}SCSS
$custom: #a452e4; $custom-light: #c387ed; $custom-dark: #000000;
JSON
{
"hex": "#a452e4",
"rgb": {
"r": 164,
"g": 82,
"b": 228
},
"hsl": {
"h": 273.699,
"s": 73,
"l": 60.784
},
"oklch": {
"l": 0.6058,
"c": 0.21566,
"h": 306.9
},
"luminance": 0.19529
}Semantic roles & 50–950 ramp
primary
#A452E4
secondary
#C5E5AD
accent
#D51067
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84