#A452E7#A452E7
#A452E7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.219 H 306.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A452E7 |
|---|---|
| RGB | rgb(164, 82, 231) |
| HSL | hsl(273, 76%, 61%) |
| HSV | hsv(273, 65%, 91%) |
| CMYK | cmyk(29%, 64.5%, 0%, 9.4%) |
| CIE-LAB | lab(51.49, 59.61, -62.33) |
| CIE-LCH | lch(51.49, 86.24, 313.72°) |
| OKLab | oklab(60.78% 0.1292 -0.1765) |
| OKLCH | oklch(60.78% 0.219 306.2) |
| XYZ | xyz(32.7478, 19.6969, 77.6625) |
| Luminance | 0.1970 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.26
Lighter Purple
#A55AF4
ΔE00 2.77
Purpley
#8756E4
ΔE00 5.20
Mediumorchid
#BA55D3
ΔE00 5.99
Electric Purple
#AA23FF
ΔE00 6.26
Neon Purple
#BC13FE
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452E7 #95E752
analogous
#5A52E7 #A452E7 #E752E0
triadic
#A452E7 #E7A452 #52E7A4
tetradic
#A452E7 #E75A52 #95E752 #52E0E7
square
#A452E7 #E75A52 #95E752 #52E0E7
split-complementary
#A452E7 #E0E752 #52E75A
monochromatic
#6717A7 #871FDD #A452E7 #C088EE #DDBDF6
Accessibility & contrast
On white
4.25
#A452E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#A452E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452E7
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452E7 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#997296
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a452e7; /* rgb */ color: rgb(164, 82, 231); /* oklch */ color: oklch(60.8% 0.219 306.2);
Tailwind
colors: {
custom: {
50: '#c387ef',
500: '#a452e7',
950: '#000000',
},
}SCSS
$custom: #a452e7; $custom-light: #c387ef; $custom-dark: #000000;
JSON
{
"hex": "#a452e7",
"rgb": {
"r": 164,
"g": 82,
"b": 231
},
"hsl": {
"h": 273.02,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.6078,
"c": 0.21878,
"h": 306.2
},
"luminance": 0.19697
}Semantic roles & 50–950 ramp
primary
#A452E7
secondary
#C8E6AF
accent
#D80E69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85