#A12A96#A12A96
#A12A96 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.194 H 332.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A12A96 |
|---|---|
| RGB | rgb(161, 42, 150) |
| HSL | hsl(306, 59%, 40%) |
| HSV | hsv(306, 74%, 63%) |
| CMYK | cmyk(0%, 73.9%, 6.8%, 36.9%) |
| CIE-LAB | lab(40.31, 59.72, -32.99) |
| CIE-LCH | lch(40.31, 68.22, 331.09°) |
| OKLab | oklab(51.1% 0.1714 -0.0907) |
| OKLCH | oklch(51.1% 0.194 332.1) |
| XYZ | xyz(21.0310, 11.4367, 29.9481) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.24
Barney Purple
#A00498
ΔE00 3.33
Ugly Purple
#A442A0
ΔE00 4.51
Medium Purple
#9E43A2
ΔE00 4.62
Barney
#AC1DB8
ΔE00 5.66
Purply
#983FB2
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12A96 #2AA135
analogous
#702AA1 #A12A96 #A12A5B
triadic
#A12A96 #96A12A #2A96A1
tetradic
#A12A96 #A1702A #2AA135 #2A5BA1
square
#A12A96 #A1702A #2AA135 #2A5BA1
split-complementary
#A12A96 #5BA12A #2AA170
monochromatic
#40113C #701D69 #A12A96 #CC3CBF #D96DCF
Accessibility & contrast
On white
6.39
#A12A96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#A12A96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12A96
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12A96 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#A8375D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a12a96; /* rgb */ color: rgb(161, 42, 150); /* oklch */ color: oklch(51.1% 0.194 332.1);
Tailwind
colors: {
custom: {
50: '#c070b5',
500: '#a12a96',
950: '#000000',
},
}SCSS
$custom: #a12a96; $custom-light: #c070b5; $custom-dark: #000000;
JSON
{
"hex": "#a12a96",
"rgb": {
"r": 161,
"g": 42,
"b": 150
},
"hsl": {
"h": 305.546,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.51101,
"c": 0.19391,
"h": 332.1
},
"luminance": 0.11435
}Semantic roles & 50–950 ramp
primary
#A12A96
secondary
#67C06F
accent
#E25446
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80