#A239A2#A239A2
#A239A2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.3% C 0.186 H 327.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A239A2 |
|---|---|
| RGB | rgb(162, 57, 162) |
| HSL | hsl(300, 48%, 43%) |
| HSV | hsv(300, 65%, 64%) |
| CMYK | cmyk(0%, 64.8%, 0%, 36.5%) |
| CIE-LAB | lab(43.09, 56.36, -35.80) |
| CIE-LCH | lch(43.09, 66.77, 327.57°) |
| OKLab | oklab(53.35% 0.1571 -0.0989) |
| OKLCH | oklch(53.35% 0.186 327.8) |
| XYZ | xyz(22.8847, 13.2178, 35.5214) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.83
Ugly Purple
#A442A0
ΔE00 2.08
Purply
#983FB2
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 4.39
Barney
#AC1DB8
ΔE00 4.58
Barney Purple
#A00498
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239A2 #39A239
analogous
#6D39A2 #A239A2 #A2396D
triadic
#A239A2 #A2A239 #39A2A2
tetradic
#A239A2 #A26D39 #39A239 #396DA2
square
#A239A2 #A26D39 #39A239 #396DA2
split-complementary
#A239A2 #6DA239 #39A26D
monochromatic
#471947 #752975 #A239A2 #C355C3 #D382D3
Accessibility & contrast
On white
5.76
#A239A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#A239A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239A2
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239A2 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#A74768
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a239a2; /* rgb */ color: rgb(162, 57, 162); /* oklch */ color: oklch(53.3% 0.186 327.8);
Tailwind
colors: {
custom: {
50: '#c177be',
500: '#a239a2',
950: '#000000',
},
}SCSS
$custom: #a239a2; $custom-light: #c177be; $custom-dark: #000000;
JSON
{
"hex": "#a239a2",
"rgb": {
"r": 162,
"g": 57,
"b": 162
},
"hsl": {
"h": 300,
"s": 47.945,
"l": 42.941
},
"oklch": {
"l": 0.53346,
"c": 0.18561,
"h": 327.8
},
"luminance": 0.13216
}Semantic roles & 50–950 ramp
primary
#A239A2
secondary
#7ABD7A
accent
#D85050
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81