#A12C99#A12C99
#A12C99 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.194 H 331.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A12C99 |
|---|---|
| RGB | rgb(161, 44, 153) |
| HSL | hsl(304, 57%, 40%) |
| HSV | hsv(304, 73%, 63%) |
| CMYK | cmyk(0%, 72.7%, 5%, 36.9%) |
| CIE-LAB | lab(40.70, 59.52, -34.18) |
| CIE-LCH | lch(40.70, 68.64, 330.14°) |
| OKLab | oklab(51.44% 0.1696 -0.0941) |
| OKLCH | oklch(51.44% 0.194 331) |
| XYZ | xyz(21.3484, 11.6800, 31.2609) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.47
Barney Purple
#A00498
ΔE00 3.50
Ugly Purple
#A442A0
ΔE00 4.13
Medium Purple
#9E43A2
ΔE00 4.15
Barney
#AC1DB8
ΔE00 5.17
Purply
#983FB2
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12C99 #2CA134
analogous
#6F2CA1 #A12C99 #A12C5E
triadic
#A12C99 #99A12C #2C99A1
tetradic
#A12C99 #A16F2C #2CA134 #2C5EA1
square
#A12C99 #A16F2C #2CA134 #2C5EA1
split-complementary
#A12C99 #5EA12C #2CA16F
monochromatic
#41123E #711F6B #A12C99 #CB40C1 #D870D1
Accessibility & contrast
On white
6.30
#A12C99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#A12C99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12C99
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12C99 | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#A73A60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a12c99; /* rgb */ color: rgb(161, 44, 153); /* oklch */ color: oklch(51.4% 0.194 331.0);
Tailwind
colors: {
custom: {
50: '#c071b7',
500: '#a12c99',
950: '#000000',
},
}SCSS
$custom: #a12c99; $custom-light: #c071b7; $custom-dark: #000000;
JSON
{
"hex": "#a12c99",
"rgb": {
"r": 161,
"g": 44,
"b": 153
},
"hsl": {
"h": 304.103,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.51438,
"c": 0.19395,
"h": 331
},
"luminance": 0.11678
}Semantic roles & 50–950 ramp
primary
#A12C99
secondary
#6ABF70
accent
#E05247
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80