#A12C97#A12C97
#A12C97 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.192 H 331.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A12C97 |
|---|---|
| RGB | rgb(161, 44, 151) |
| HSL | hsl(305, 57%, 40%) |
| HSV | hsv(305, 73%, 63%) |
| CMYK | cmyk(0%, 72.7%, 6.2%, 36.9%) |
| CIE-LAB | lab(40.60, 59.20, -33.13) |
| CIE-LCH | lch(40.60, 67.84, 330.77°) |
| OKLab | oklab(51.33% 0.1695 -0.0911) |
| OKLCH | oklch(51.33% 0.192 331.7) |
| XYZ | xyz(21.1846, 11.6145, 30.3982) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.34
Barney Purple
#A00498
ΔE00 3.56
Ugly Purple
#A442A0
ΔE00 4.21
Medium Purple
#9E43A2
ΔE00 4.30
Barney
#AC1DB8
ΔE00 5.53
Purply
#983FB2
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12C97 #2CA136
analogous
#702CA1 #A12C97 #A12C5D
triadic
#A12C97 #97A12C #2C97A1
tetradic
#A12C97 #A1702C #2CA136 #2C5DA1
square
#A12C97 #A1702C #2CA136 #2C5DA1
split-complementary
#A12C97 #5DA12C #2CA170
monochromatic
#41123D #711F6A #A12C97 #CB40BF #D870CF
Accessibility & contrast
On white
6.32
#A12C97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#A12C97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12C97
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12C97 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#A8395E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a12c97; /* rgb */ color: rgb(161, 44, 151); /* oklch */ color: oklch(51.3% 0.192 331.7);
Tailwind
colors: {
custom: {
50: '#c071b6',
500: '#a12c97',
950: '#000000',
},
}SCSS
$custom: #a12c97; $custom-light: #c071b6; $custom-dark: #000000;
JSON
{
"hex": "#a12c97",
"rgb": {
"r": 161,
"g": 44,
"b": 151
},
"hsl": {
"h": 305.128,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.51327,
"c": 0.19243,
"h": 331.7
},
"luminance": 0.11613
}Semantic roles & 50–950 ramp
primary
#A12C97
secondary
#6ABF71
accent
#E05547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80