#A239A0#A239A0
#A239A0 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.2% C 0.184 H 328.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A239A0 |
|---|---|
| RGB | rgb(162, 57, 160) |
| HSL | hsl(301, 48%, 43%) |
| HSV | hsv(301, 65%, 64%) |
| CMYK | cmyk(0%, 64.8%, 1.2%, 36.5%) |
| CIE-LAB | lab(42.98, 56.01, -34.77) |
| CIE-LCH | lch(42.98, 65.93, 328.17°) |
| OKLab | oklab(53.24% 0.1569 -0.0959) |
| OKLCH | oklch(53.24% 0.184 328.6) |
| XYZ | xyz(22.7083, 13.1473, 34.5925) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.89
Ugly Purple
#A442A0
ΔE00 1.96
Warm Purple
#952E8F
ΔE00 4.19
Purply
#983FB2
ΔE00 4.44
Barney
#AC1DB8
ΔE00 4.87
Barney Purple
#A00498
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239A0 #39A23B
analogous
#6F39A2 #A239A0 #A2396B
triadic
#A239A0 #A0A239 #39A0A2
tetradic
#A239A0 #A26F39 #39A23B #396BA2
square
#A239A0 #A26F39 #39A23B #396BA2
split-complementary
#A239A0 #6BA239 #39A26F
monochromatic
#471947 #752973 #A239A0 #C355C1 #D382D2
Accessibility & contrast
On white
5.79
#A239A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#A239A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239A0
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239A0 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5DA3
Deuteranopia (green-blind)
#546A9D
Tritanopia (blue-blind)
#A74667
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a239a0; /* rgb */ color: rgb(162, 57, 160); /* oklch */ color: oklch(53.2% 0.184 328.6);
Tailwind
colors: {
custom: {
50: '#c177bc',
500: '#a239a0',
950: '#000000',
},
}SCSS
$custom: #a239a0; $custom-light: #c177bc; $custom-dark: #000000;
JSON
{
"hex": "#a239a0",
"rgb": {
"r": 162,
"g": 57,
"b": 160
},
"hsl": {
"h": 301.143,
"s": 47.945,
"l": 42.941
},
"oklch": {
"l": 0.53235,
"c": 0.18394,
"h": 328.6
},
"luminance": 0.13146
}Semantic roles & 50–950 ramp
primary
#A239A0
secondary
#7ABD7B
accent
#D85350
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130912
muted
#827B81