#A231A1#A231A1
#A231A1 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.195 H 328.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A231A1 |
|---|---|
| RGB | rgb(162, 49, 161) |
| HSL | hsl(301, 54%, 41%) |
| HSV | hsv(301, 70%, 64%) |
| CMYK | cmyk(0%, 69.8%, 0.6%, 36.5%) |
| CIE-LAB | lab(41.93, 59.30, -37.04) |
| CIE-LCH | lch(41.93, 69.92, 328.01°) |
| OKLab | oklab(52.49% 0.1658 -0.1025) |
| OKLCH | oklch(52.49% 0.195 328.3) |
| XYZ | xyz(22.4314, 12.4528, 34.9335) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.09
Ugly Purple
#A442A0
ΔE00 3.33
Warm Purple
#952E8F
ΔE00 3.65
Barney
#AC1DB8
ΔE00 4.04
Barney Purple
#A00498
ΔE00 4.44
Purply
#983FB2
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A231A1 #31A232
analogous
#6B31A2 #A231A1 #A23169
triadic
#A231A1 #A1A231 #31A1A2
tetradic
#A231A1 #A26B31 #31A232 #3169A2
square
#A231A1 #A26B31 #31A232 #3169A2
split-complementary
#A231A1 #69A231 #31A26B
monochromatic
#441544 #732372 #A231A1 #C848C7 #D677D5
Accessibility & contrast
On white
6.02
#A231A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#A231A1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A231A1
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A231A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A231A1 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#4F689E
Tritanopia (blue-blind)
#A74165
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a231a1; /* rgb */ color: rgb(162, 49, 161); /* oklch */ color: oklch(52.5% 0.195 328.3);
Tailwind
colors: {
custom: {
50: '#c174bd',
500: '#a231a1',
950: '#000000',
},
}SCSS
$custom: #a231a1; $custom-light: #c174bd; $custom-dark: #000000;
JSON
{
"hex": "#a231a1",
"rgb": {
"r": 162,
"g": 49,
"b": 161
},
"hsl": {
"h": 300.531,
"s": 53.555,
"l": 41.373
},
"oklch": {
"l": 0.5249,
"c": 0.19493,
"h": 328.3
},
"luminance": 0.12451
}Semantic roles & 50–950 ramp
primary
#A231A1
secondary
#71BE71
accent
#DD4C4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81