#A12A97#A12A97
#A12A97 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.195 H 331.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A12A97 |
|---|---|
| RGB | rgb(161, 42, 151) |
| HSL | hsl(305, 59%, 40%) |
| HSV | hsv(305, 74%, 63%) |
| CMYK | cmyk(0%, 73.9%, 6.2%, 36.9%) |
| CIE-LAB | lab(40.36, 59.88, -33.51) |
| CIE-LCH | lch(40.36, 68.62, 330.77°) |
| OKLab | oklab(51.16% 0.1714 -0.0922) |
| OKLCH | oklch(51.16% 0.195 331.7) |
| XYZ | xyz(21.1118, 11.4691, 30.3740) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.29
Barney Purple
#A00498
ΔE00 3.28
Ugly Purple
#A442A0
ΔE00 4.47
Medium Purple
#9E43A2
ΔE00 4.54
Barney
#AC1DB8
ΔE00 5.48
Purply
#983FB2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12A97 #2AA134
analogous
#702AA1 #A12A97 #A12A5C
triadic
#A12A97 #97A12A #2A97A1
tetradic
#A12A97 #A1702A #2AA134 #2A5CA1
square
#A12A97 #A1702A #2AA134 #2A5CA1
split-complementary
#A12A97 #5CA12A #2AA170
monochromatic
#40113C #701D69 #A12A97 #CC3CC0 #D96DD0
Accessibility & contrast
On white
6.38
#A12A97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#A12A97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12A97
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12A97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12A97 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#A8385E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a12a97; /* rgb */ color: rgb(161, 42, 151); /* oklch */ color: oklch(51.2% 0.195 331.7);
Tailwind
colors: {
custom: {
50: '#c070b6',
500: '#a12a97',
950: '#000000',
},
}SCSS
$custom: #a12a97; $custom-light: #c070b6; $custom-dark: #000000;
JSON
{
"hex": "#a12a97",
"rgb": {
"r": 161,
"g": 42,
"b": 151
},
"hsl": {
"h": 305.042,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.51157,
"c": 0.19465,
"h": 331.7
},
"luminance": 0.11467
}Semantic roles & 50–950 ramp
primary
#A12A97
secondary
#67C06F
accent
#E25346
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80