#A452E6#A452E6
#A452E6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.218 H 306.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A452E6 |
|---|---|
| RGB | rgb(164, 82, 230) |
| HSL | hsl(273, 75%, 61%) |
| HSV | hsv(273, 64%, 90%) |
| CMYK | cmyk(28.7%, 64.3%, 0%, 9.8%) |
| CIE-LAB | lab(51.43, 59.38, -61.87) |
| CIE-LCH | lch(51.43, 85.75, 313.82°) |
| OKLab | oklab(60.71% 0.1293 -0.1752) |
| OKLCH | oklch(60.71% 0.218 306.4) |
| XYZ | xyz(32.6070, 19.6406, 76.9208) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.19
Lighter Purple
#A55AF4
ΔE00 2.88
Purpley
#8756E4
ΔE00 5.23
Mediumorchid
#BA55D3
ΔE00 5.91
Electric Purple
#AA23FF
ΔE00 6.30
Amethyst
#9B5FC0
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A452E6 #94E652
analogous
#5A52E6 #A452E6 #E652DE
triadic
#A452E6 #E6A452 #52E6A4
tetradic
#A452E6 #E65A52 #94E652 #52DEE6
square
#A452E6 #E65A52 #94E652 #52DEE6
split-complementary
#A452E6 #DEE652 #52E65A
monochromatic
#6618A6 #8820DB #A452E6 #C087EE #DCBDF5
Accessibility & contrast
On white
4.26
#A452E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#A452E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A452E6
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A452E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A452E6 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#997195
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a452e6; /* rgb */ color: rgb(164, 82, 230); /* oklch */ color: oklch(60.7% 0.218 306.4);
Tailwind
colors: {
custom: {
50: '#c387ef',
500: '#a452e6',
950: '#000000',
},
}SCSS
$custom: #a452e6; $custom-light: #c387ef; $custom-dark: #000000;
JSON
{
"hex": "#a452e6",
"rgb": {
"r": 164,
"g": 82,
"b": 230
},
"hsl": {
"h": 273.243,
"s": 74.747,
"l": 61.176
},
"oklch": {
"l": 0.60713,
"c": 0.21774,
"h": 306.4
},
"luminance": 0.1964
}Semantic roles & 50–950 ramp
primary
#A452E6
secondary
#C7E6AE
accent
#D70F68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84