#A23EA2#A23EA2
#A23EA2 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.179 H 327.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A23EA2 |
|---|---|
| RGB | rgb(162, 62, 162) |
| HSL | hsl(300, 45%, 44%) |
| HSV | hsv(300, 62%, 64%) |
| CMYK | cmyk(0%, 61.7%, 0%, 36.5%) |
| CIE-LAB | lab(43.85, 54.24, -34.60) |
| CIE-LCH | lch(43.85, 64.33, 327.47°) |
| OKLab | oklab(53.9% 0.1511 -0.0955) |
| OKLCH | oklch(53.9% 0.179 327.7) |
| XYZ | xyz(23.1442, 13.7368, 35.6078) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.07
Ugly Purple
#A442A0
ΔE00 1.23
Purply
#983FB2
ΔE00 4.20
Warm Purple
#952E8F
ΔE00 4.99
Barney
#AC1DB8
ΔE00 5.22
Light Eggplant
#894585
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23EA2 #3EA23E
analogous
#703EA2 #A23EA2 #A23E70
triadic
#A23EA2 #A2A23E #3EA2A2
tetradic
#A23EA2 #A2703E #3EA23E #3E70A2
square
#A23EA2 #A2703E #3EA23E #3E70A2
split-complementary
#A23EA2 #70A23E #3EA270
monochromatic
#491C49 #762D76 #A23EA2 #C15CC1 #D289D2
Accessibility & contrast
On white
5.60
#A23EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#A23EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23EA2
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23EA2 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#A74B6A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a23ea2; /* rgb */ color: rgb(162, 62, 162); /* oklch */ color: oklch(53.9% 0.179 327.7);
Tailwind
colors: {
custom: {
50: '#c07abe',
500: '#a23ea2',
950: '#000000',
},
}SCSS
$custom: #a23ea2; $custom-light: #c07abe; $custom-dark: #000000;
JSON
{
"hex": "#a23ea2",
"rgb": {
"r": 162,
"g": 62,
"b": 162
},
"hsl": {
"h": 300,
"s": 44.643,
"l": 43.922
},
"oklch": {
"l": 0.53899,
"c": 0.17871,
"h": 327.7
},
"luminance": 0.13735
}Semantic roles & 50–950 ramp
primary
#A23EA2
secondary
#80BC80
accent
#D45353
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81