#A239AA#A239AA
#A239AA is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.192 H 324.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A239AA |
|---|---|
| RGB | rgb(162, 57, 170) |
| HSL | hsl(296, 50%, 45%) |
| HSV | hsv(296, 66%, 67%) |
| CMYK | cmyk(4.7%, 66.5%, 0%, 33.3%) |
| CIE-LAB | lab(43.52, 57.78, -39.88) |
| CIE-LCH | lch(43.52, 70.20, 325.39°) |
| OKLab | oklab(53.8% 0.1573 -0.1107) |
| OKLCH | oklch(53.8% 0.192 324.9) |
| XYZ | xyz(23.6185, 13.5113, 39.3863) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.32
Purply
#983FB2
ΔE00 2.82
Ugly Purple
#A442A0
ΔE00 2.99
Barney
#AC1DB8
ΔE00 3.59
Warm Purple
#952E8F
ΔE00 5.39
Barney Purple
#A00498
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239AA #41AA39
analogous
#6A39AA #A239AA #AA397A
triadic
#A239AA #AAA239 #39AAA2
tetradic
#A239AA #AA6A39 #41AA39 #397AAA
square
#A239AA #AA6A39 #41AA39 #397AAA
split-complementary
#A239AA #7AAA39 #39AA6A
monochromatic
#4B1A4E #762A7C #A239AA #BF59C7 #D187D7
Accessibility & contrast
On white
5.67
#A239AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#A239AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239AA
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239AA | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#A54A6D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a239aa; /* rgb */ color: rgb(162, 57, 170); /* oklch */ color: oklch(53.8% 0.192 324.9);
Tailwind
colors: {
custom: {
50: '#c178c4',
500: '#a239aa',
950: '#000000',
},
}SCSS
$custom: #a239aa; $custom-light: #c178c4; $custom-dark: #000000;
JSON
{
"hex": "#a239aa",
"rgb": {
"r": 162,
"g": 57,
"b": 170
},
"hsl": {
"h": 295.752,
"s": 49.78,
"l": 44.51
},
"oklch": {
"l": 0.538,
"c": 0.19241,
"h": 324.9
},
"luminance": 0.1351
}Semantic roles & 50–950 ramp
primary
#A239AA
secondary
#83C17E
accent
#D94E58
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81