#A239AB#A239AB
#A239AB is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.193 H 324.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A239AB |
|---|---|
| RGB | rgb(162, 57, 171) |
| HSL | hsl(295, 50%, 45%) |
| HSV | hsv(295, 67%, 67%) |
| CMYK | cmyk(5.3%, 66.7%, 0%, 32.9%) |
| CIE-LAB | lab(43.58, 57.96, -40.38) |
| CIE-LCH | lch(43.58, 70.64, 325.13°) |
| OKLab | oklab(53.86% 0.1574 -0.1122) |
| OKLCH | oklch(53.86% 0.193 324.5) |
| XYZ | xyz(23.7135, 13.5493, 39.8864) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.43
Purply
#983FB2
ΔE00 2.68
Ugly Purple
#A442A0
ΔE00 3.13
Barney
#AC1DB8
ΔE00 3.50
Warm Purple
#952E8F
ΔE00 5.53
Barney Purple
#A00498
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239AB #42AB39
analogous
#6939AB #A239AB #AB397B
triadic
#A239AB #ABA239 #39ABA2
tetradic
#A239AB #AB6939 #42AB39 #397BAB
square
#A239AB #AB6939 #42AB39 #397BAB
split-complementary
#A239AB #7BAB39 #39AB69
monochromatic
#4B1A4F #772A7D #A239AB #BF59C8 #D187D7
Accessibility & contrast
On white
5.66
#A239AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#A239AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239AB
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239AB | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#A54B6D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a239ab; /* rgb */ color: rgb(162, 57, 171); /* oklch */ color: oklch(53.9% 0.193 324.5);
Tailwind
colors: {
custom: {
50: '#c178c4',
500: '#a239ab',
950: '#000000',
},
}SCSS
$custom: #a239ab; $custom-light: #c178c4; $custom-dark: #000000;
JSON
{
"hex": "#a239ab",
"rgb": {
"r": 162,
"g": 57,
"b": 171
},
"hsl": {
"h": 295.263,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.53858,
"c": 0.19327,
"h": 324.5
},
"luminance": 0.13548
}Semantic roles & 50–950 ramp
primary
#A239AB
secondary
#84C17F
accent
#DA4E59
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82