#A239A5#A239A5
#A239A5 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.188 H 326.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A239A5 |
|---|---|
| RGB | rgb(162, 57, 165) |
| HSL | hsl(298, 49%, 44%) |
| HSV | hsv(298, 65%, 65%) |
| CMYK | cmyk(1.8%, 65.5%, 0%, 35.3%) |
| CIE-LAB | lab(43.25, 56.89, -37.34) |
| CIE-LCH | lch(43.25, 68.05, 326.72°) |
| OKLab | oklab(53.51% 0.1572 -0.1034) |
| OKLCH | oklch(53.51% 0.188 326.7) |
| XYZ | xyz(23.1545, 13.3257, 36.9426) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.89
Ugly Purple
#A442A0
ΔE00 2.36
Purply
#983FB2
ΔE00 3.58
Barney
#AC1DB8
ΔE00 4.17
Warm Purple
#952E8F
ΔE00 4.73
Barney Purple
#A00498
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239A5 #3CA539
analogous
#6C39A5 #A239A5 #A53972
triadic
#A239A5 #A5A239 #39A5A2
tetradic
#A239A5 #A56C39 #3CA539 #3972A5
square
#A239A5 #A56C39 #3CA539 #3972A5
split-complementary
#A239A5 #72A539 #39A56C
monochromatic
#491A4A #752978 #A239A5 #C256C5 #D284D4
Accessibility & contrast
On white
5.73
#A239A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#A239A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239A5
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239A5 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#A6486A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a239a5; /* rgb */ color: rgb(162, 57, 165); /* oklch */ color: oklch(53.5% 0.188 326.7);
Tailwind
colors: {
custom: {
50: '#c178c0',
500: '#a239a5',
950: '#000000',
},
}SCSS
$custom: #a239a5; $custom-light: #c178c0; $custom-dark: #000000;
JSON
{
"hex": "#a239a5",
"rgb": {
"r": 162,
"g": 57,
"b": 165
},
"hsl": {
"h": 298.333,
"s": 48.649,
"l": 43.529
},
"oklch": {
"l": 0.53514,
"c": 0.18814,
"h": 326.7
},
"luminance": 0.13324
}Semantic roles & 50–950 ramp
primary
#A239A5
secondary
#7DBE7B
accent
#D85053
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81