#A239A6#A239A6
#A239A6 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.189 H 326.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A239A6 |
|---|---|
| RGB | rgb(162, 57, 166) |
| HSL | hsl(298, 49%, 44%) |
| HSV | hsv(298, 66%, 65%) |
| CMYK | cmyk(2.4%, 65.7%, 0%, 34.9%) |
| CIE-LAB | lab(43.30, 57.06, -37.85) |
| CIE-LCH | lch(43.30, 68.47, 326.45°) |
| OKLab | oklab(53.57% 0.1572 -0.1048) |
| OKLCH | oklch(53.57% 0.189 326.3) |
| XYZ | xyz(23.2459, 13.3623, 37.4238) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.95
Ugly Purple
#A442A0
ΔE00 2.47
Purply
#983FB2
ΔE00 3.42
Barney
#AC1DB8
ΔE00 4.04
Warm Purple
#952E8F
ΔE00 4.86
Barney Purple
#A00498
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239A6 #3DA639
analogous
#6B39A6 #A239A6 #A63973
triadic
#A239A6 #A6A239 #39A6A2
tetradic
#A239A6 #A66B39 #3DA639 #3973A6
square
#A239A6 #A66B39 #3DA639 #3973A6
split-complementary
#A239A6 #73A639 #39A66B
monochromatic
#491A4B #762978 #A239A6 #C157C5 #D284D5
Accessibility & contrast
On white
5.72
#A239A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#A239A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239A6
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239A6 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275EA9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#A6496B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a239a6; /* rgb */ color: rgb(162, 57, 166); /* oklch */ color: oklch(53.6% 0.189 326.3);
Tailwind
colors: {
custom: {
50: '#c178c1',
500: '#a239a6',
950: '#000000',
},
}SCSS
$custom: #a239a6; $custom-light: #c178c1; $custom-dark: #000000;
JSON
{
"hex": "#a239a6",
"rgb": {
"r": 162,
"g": 57,
"b": 166
},
"hsl": {
"h": 297.798,
"s": 48.879,
"l": 43.725
},
"oklch": {
"l": 0.5357,
"c": 0.18898,
"h": 326.3
},
"luminance": 0.13361
}Semantic roles & 50–950 ramp
primary
#A239A6
secondary
#7EBF7C
accent
#D84F54
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81