#A1289A#A1289A
#A1289A is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.2% C 0.199 H 330.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A1289A |
|---|---|
| RGB | rgb(161, 40, 154) |
| HSL | hsl(303, 60%, 39%) |
| HSV | hsv(303, 75%, 63%) |
| CMYK | cmyk(0%, 75.2%, 4.3%, 36.9%) |
| CIE-LAB | lab(40.29, 61.00, -35.43) |
| CIE-LCH | lch(40.29, 70.55, 329.86°) |
| OKLab | oklab(51.16% 0.1734 -0.0977) |
| OKLCH | oklch(51.16% 0.199 330.6) |
| XYZ | xyz(21.2894, 11.4294, 31.6504) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.51
Barney Purple
#A00498
ΔE00 2.94
Medium Purple
#9E43A2
ΔE00 4.57
Ugly Purple
#A442A0
ΔE00 4.64
Barney
#AC1DB8
ΔE00 4.92
Purply
#983FB2
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1289A #28A12F
analogous
#6C28A1 #A1289A #A1285E
triadic
#A1289A #9AA128 #289AA1
tetradic
#A1289A #A16C28 #28A12F #285EA1
square
#A1289A #A16C28 #28A12F #285EA1
split-complementary
#A1289A #5EA128 #28A16C
monochromatic
#3F103C #701C6B #A1289A #CE39C5 #DA6AD3
Accessibility & contrast
On white
6.39
#A1289A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#A1289A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A1289A
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1289A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1289A | 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)
#1A549D
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#A7385F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a1289a; /* rgb */ color: rgb(161, 40, 154); /* oklch */ color: oklch(51.2% 0.199 330.6);
Tailwind
colors: {
custom: {
50: '#c06fb8',
500: '#a1289a',
950: '#000000',
},
}SCSS
$custom: #a1289a; $custom-light: #c06fb8; $custom-dark: #000000;
JSON
{
"hex": "#a1289a",
"rgb": {
"r": 161,
"g": 40,
"b": 154
},
"hsl": {
"h": 303.471,
"s": 60.199,
"l": 39.412
},
"oklch": {
"l": 0.51162,
"c": 0.19904,
"h": 330.6
},
"luminance": 0.11428
}Semantic roles & 50–950 ramp
primary
#A1289A
secondary
#65C06A
accent
#E34E44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80