#A45AE2#A45AE2
#A45AE2 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.203 H 306.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A45AE2 |
|---|---|
| RGB | rgb(164, 90, 226) |
| HSL | hsl(273, 70%, 62%) |
| HSV | hsv(273, 60%, 89%) |
| CMYK | cmyk(27.4%, 60.2%, 0%, 11.4%) |
| CIE-LAB | lab(52.62, 54.56, -57.70) |
| CIE-LCH | lch(52.62, 79.42, 313.40°) |
| OKLab | oklab(61.49% 0.1203 -0.163) |
| OKLCH | oklch(61.49% 0.203 306.4) |
| XYZ | xyz(32.6906, 20.6961, 74.2093) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.73
Lighter Purple
#A55AF4
ΔE00 2.59
Mediumorchid
#BA55D3
ΔE00 5.34
Amethyst
#9B5FC0
ΔE00 5.56
Purpley
#8756E4
ΔE00 5.76
Mediumpurple
#9370DB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45AE2 #98E25A
analogous
#605AE2 #A45AE2 #E25ADC
triadic
#A45AE2 #E2A45A #5AE2A4
tetradic
#A45AE2 #E2605A #98E25A #5ADCE2
square
#A45AE2 #E2605A #98E25A #5ADCE2
split-complementary
#A45AE2 #DCE25A #5AE260
monochromatic
#671DA5 #8726D9 #A45AE2 #C18EEB #DDC2F4
Accessibility & contrast
On white
4.09
#A45AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A45AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45AE2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45AE2 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#177BE6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#9A7596
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a45ae2; /* rgb */ color: rgb(164, 90, 226); /* oklch */ color: oklch(61.5% 0.203 306.4);
Tailwind
colors: {
custom: {
50: '#c38cec',
500: '#a45ae2',
950: '#000000',
},
}SCSS
$custom: #a45ae2; $custom-light: #c38cec; $custom-dark: #000000;
JSON
{
"hex": "#a45ae2",
"rgb": {
"r": 164,
"g": 90,
"b": 226
},
"hsl": {
"h": 272.647,
"s": 70.103,
"l": 61.961
},
"oklch": {
"l": 0.61493,
"c": 0.20257,
"h": 306.4
},
"luminance": 0.20696
}Semantic roles & 50–950 ramp
primary
#A45AE2
secondary
#CAE5B3
accent
#D2136A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84