#A12A9A#A12A9A
#A12A9A is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.197 H 330.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A12A9A |
|---|---|
| RGB | rgb(161, 42, 154) |
| HSL | hsl(304, 59%, 40%) |
| HSV | hsv(304, 74%, 63%) |
| CMYK | cmyk(0%, 73.9%, 4.3%, 36.9%) |
| CIE-LAB | lab(40.52, 60.36, -35.07) |
| CIE-LCH | lch(40.52, 69.81, 329.84°) |
| OKLab | oklab(51.33% 0.1715 -0.0967) |
| OKLCH | oklch(51.33% 0.197 330.6) |
| XYZ | xyz(21.3586, 11.5678, 31.6735) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.52
Barney Purple
#A00498
ΔE00 3.21
Medium Purple
#9E43A2
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 4.38
Barney
#AC1DB8
ΔE00 4.95
Purply
#983FB2
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12A9A #2AA131
analogous
#6C2AA1 #A12A9A #A12A5F
triadic
#A12A9A #9AA12A #2A9AA1
tetradic
#A12A9A #A16C2A #2AA131 #2A5FA1
square
#A12A9A #A16C2A #2AA131 #2A5FA1
split-complementary
#A12A9A #5FA12A #2AA16C
monochromatic
#40113D #701D6C #A12A9A #CC3CC4 #D96DD2
Accessibility & contrast
On white
6.34
#A12A9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#A12A9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12A9A
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12A9A | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#A73960
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a12a9a; /* rgb */ color: rgb(161, 42, 154); /* oklch */ color: oklch(51.3% 0.197 330.6);
Tailwind
colors: {
custom: {
50: '#c070b8',
500: '#a12a9a',
950: '#000000',
},
}SCSS
$custom: #a12a9a; $custom-light: #c070b8; $custom-dark: #000000;
JSON
{
"hex": "#a12a9a",
"rgb": {
"r": 161,
"g": 42,
"b": 154
},
"hsl": {
"h": 303.529,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.51325,
"c": 0.19692,
"h": 330.6
},
"luminance": 0.11566
}Semantic roles & 50–950 ramp
primary
#A12A9A
secondary
#67C06C
accent
#E24F46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80