#A23AA6#A23AA6
#A23AA6 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.188 H 326.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A23AA6 |
|---|---|
| RGB | rgb(162, 58, 166) |
| HSL | hsl(298, 48%, 44%) |
| HSV | hsv(298, 65%, 65%) |
| CMYK | cmyk(2.4%, 65.1%, 0%, 34.9%) |
| CIE-LAB | lab(43.45, 56.65, -37.61) |
| CIE-LCH | lch(43.45, 68.00, 326.42°) |
| OKLab | oklab(53.68% 0.1561 -0.1042) |
| OKLCH | oklch(53.68% 0.188 326.3) |
| XYZ | xyz(23.2958, 13.4621, 37.4404) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.80
Ugly Purple
#A442A0
ΔE00 2.33
Purply
#983FB2
ΔE00 3.42
Barney
#AC1DB8
ΔE00 4.16
Warm Purple
#952E8F
ΔE00 4.95
Barney Purple
#A00498
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23AA6 #3EA63A
analogous
#6C3AA6 #A23AA6 #A63A74
triadic
#A23AA6 #A6A23A #3AA6A2
tetradic
#A23AA6 #A66C3A #3EA63A #3A74A6
square
#A23AA6 #A66C3A #3EA63A #3A74A6
split-complementary
#A23AA6 #74A63A #3AA66C
monochromatic
#491A4B #762A79 #A23AA6 #C158C5 #D286D5
Accessibility & contrast
On white
5.69
#A23AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#A23AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23AA6
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23AA6 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#A6496B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a23aa6; /* rgb */ color: rgb(162, 58, 166); /* oklch */ color: oklch(53.7% 0.188 326.3);
Tailwind
colors: {
custom: {
50: '#c178c1',
500: '#a23aa6',
950: '#000000',
},
}SCSS
$custom: #a23aa6; $custom-light: #c178c1; $custom-dark: #000000;
JSON
{
"hex": "#a23aa6",
"rgb": {
"r": 162,
"g": 58,
"b": 166
},
"hsl": {
"h": 297.778,
"s": 48.214,
"l": 43.922
},
"oklch": {
"l": 0.53677,
"c": 0.18766,
"h": 326.3
},
"luminance": 0.13461
}Semantic roles & 50–950 ramp
primary
#A23AA6
secondary
#80BF7D
accent
#D85055
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81