#A23AA5#A23AA5
#A23AA5 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.187 H 326.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A23AA5 |
|---|---|
| RGB | rgb(162, 58, 165) |
| HSL | hsl(298, 48%, 44%) |
| HSV | hsv(298, 65%, 65%) |
| CMYK | cmyk(1.8%, 64.8%, 0%, 35.3%) |
| CIE-LAB | lab(43.40, 56.47, -37.10) |
| CIE-LCH | lch(43.40, 67.57, 326.69°) |
| OKLab | oklab(53.62% 0.156 -0.1027) |
| OKLCH | oklch(53.62% 0.187 326.6) |
| XYZ | xyz(23.2045, 13.4256, 36.9592) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.73
Ugly Purple
#A442A0
ΔE00 2.21
Purply
#983FB2
ΔE00 3.58
Barney
#AC1DB8
ΔE00 4.29
Warm Purple
#952E8F
ΔE00 4.83
Barney Purple
#A00498
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23AA5 #3DA53A
analogous
#6C3AA5 #A23AA5 #A53A72
triadic
#A23AA5 #A5A23A #3AA5A2
tetradic
#A23AA5 #A56C3A #3DA53A #3A72A5
square
#A23AA5 #A56C3A #3DA53A #3A72A5
split-complementary
#A23AA5 #72A53A #3AA56C
monochromatic
#491A4A #762A78 #A23AA5 #C158C4 #D285D4
Accessibility & contrast
On white
5.70
#A23AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#A23AA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23AA5
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23AA5 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#526BA2
Tritanopia (blue-blind)
#A6496A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a23aa5; /* rgb */ color: rgb(162, 58, 165); /* oklch */ color: oklch(53.6% 0.187 326.6);
Tailwind
colors: {
custom: {
50: '#c178c0',
500: '#a23aa5',
950: '#000000',
},
}SCSS
$custom: #a23aa5; $custom-light: #c178c0; $custom-dark: #000000;
JSON
{
"hex": "#a23aa5",
"rgb": {
"r": 162,
"g": 58,
"b": 165
},
"hsl": {
"h": 298.318,
"s": 47.982,
"l": 43.725
},
"oklch": {
"l": 0.5362,
"c": 0.18681,
"h": 326.6
},
"luminance": 0.13424
}Semantic roles & 50–950 ramp
primary
#A23AA5
secondary
#7EBE7D
accent
#D85054
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81