#A23AA2#A23AA2
#A23AA2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.184 H 327.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A23AA2 |
|---|---|
| RGB | rgb(162, 58, 162) |
| HSL | hsl(300, 47%, 43%) |
| HSV | hsv(300, 64%, 64%) |
| CMYK | cmyk(0%, 64.2%, 0%, 36.5%) |
| CIE-LAB | lab(43.24, 55.95, -35.57) |
| CIE-LCH | lch(43.24, 66.29, 327.55°) |
| OKLab | oklab(53.45% 0.1559 -0.0982) |
| OKLCH | oklch(53.45% 0.184 327.8) |
| XYZ | xyz(22.9346, 13.3177, 35.5380) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.67
Ugly Purple
#A442A0
ΔE00 1.91
Purply
#983FB2
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 4.50
Barney
#AC1DB8
ΔE00 4.69
Barney Purple
#A00498
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23AA2 #3AA23A
analogous
#6E3AA2 #A23AA2 #A23A6E
triadic
#A23AA2 #A2A23A #3AA2A2
tetradic
#A23AA2 #A26E3A #3AA23A #3A6EA2
square
#A23AA2 #A26E3A #3AA23A #3A6EA2
split-complementary
#A23AA2 #6EA23A #3AA26E
monochromatic
#481A48 #752A75 #A23AA2 #C357C3 #D384D3
Accessibility & contrast
On white
5.73
#A23AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#A23AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23AA2
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23AA2 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#A74869
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a23aa2; /* rgb */ color: rgb(162, 58, 162); /* oklch */ color: oklch(53.5% 0.184 327.8);
Tailwind
colors: {
custom: {
50: '#c178be',
500: '#a23aa2',
950: '#000000',
},
}SCSS
$custom: #a23aa2; $custom-light: #c178be; $custom-dark: #000000;
JSON
{
"hex": "#a23aa2",
"rgb": {
"r": 162,
"g": 58,
"b": 162
},
"hsl": {
"h": 300,
"s": 47.273,
"l": 43.137
},
"oklch": {
"l": 0.53453,
"c": 0.18426,
"h": 327.8
},
"luminance": 0.13316
}Semantic roles & 50–950 ramp
primary
#A23AA2
secondary
#7BBD7B
accent
#D75151
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81