#A12E9A#A12E9A
#A12E9A is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.192 H 330.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A12E9A |
|---|---|
| RGB | rgb(161, 46, 154) |
| HSL | hsl(304, 56%, 41%) |
| HSV | hsv(304, 71%, 63%) |
| CMYK | cmyk(0%, 71.4%, 4.3%, 36.9%) |
| CIE-LAB | lab(41.00, 58.99, -34.31) |
| CIE-LCH | lch(41.00, 68.24, 329.82°) |
| OKLab | oklab(51.67% 0.1676 -0.0945) |
| OKLCH | oklch(51.67% 0.192 330.6) |
| XYZ | xyz(21.5076, 11.8658, 31.7231) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.63
Barney Purple
#A00498
ΔE00 3.78
Medium Purple
#9E43A2
ΔE00 3.83
Ugly Purple
#A442A0
ΔE00 3.83
Barney
#AC1DB8
ΔE00 5.06
Purply
#983FB2
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12E9A #2EA135
analogous
#6E2EA1 #A12E9A #A12E60
triadic
#A12E9A #9AA12E #2E9AA1
tetradic
#A12E9A #A16E2E #2EA135 #2E60A1
square
#A12E9A #A16E2E #2EA135 #2E60A1
split-complementary
#A12E9A #60A12E #2EA16E
monochromatic
#42133F #71206C #A12E9A #C943C1 #D773D1
Accessibility & contrast
On white
6.23
#A12E9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#A12E9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12E9A
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12E9A | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23579D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#A73C61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a12e9a; /* rgb */ color: rgb(161, 46, 154); /* oklch */ color: oklch(51.7% 0.192 330.6);
Tailwind
colors: {
custom: {
50: '#c072b8',
500: '#a12e9a',
950: '#000000',
},
}SCSS
$custom: #a12e9a; $custom-light: #c072b8; $custom-dark: #000000;
JSON
{
"hex": "#a12e9a",
"rgb": {
"r": 161,
"g": 46,
"b": 154
},
"hsl": {
"h": 303.652,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.5167,
"c": 0.19243,
"h": 330.6
},
"luminance": 0.11864
}Semantic roles & 50–950 ramp
primary
#A12E9A
secondary
#6CBE71
accent
#DF5249
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80