#A126A5#A126A5
#A126A5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.209 H 326.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A126A5 |
|---|---|
| RGB | rgb(161, 38, 165) |
| HSL | hsl(298, 63%, 40%) |
| HSV | hsv(298, 77%, 65%) |
| CMYK | cmyk(2.4%, 77%, 0%, 35.3%) |
| CIE-LAB | lab(40.71, 63.42, -41.39) |
| CIE-LCH | lch(40.71, 75.73, 326.87°) |
| OKLab | oklab(51.66% 0.175 -0.115) |
| OKLCH | oklch(51.66% 0.209 326.7) |
| XYZ | xyz(22.1822, 11.6815, 36.6764) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.16
Barney Purple
#A00498
ΔE00 3.38
Warm Purple
#952E8F
ΔE00 3.98
Purply
#983FB2
ΔE00 4.58
Medium Purple
#9E43A2
ΔE00 4.68
Ugly Purple
#A442A0
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A126A5 #2AA526
analogous
#6126A5 #A126A5 #A5266A
triadic
#A126A5 #A5A126 #26A5A1
tetradic
#A126A5 #A56126 #2AA526 #266AA5
square
#A126A5 #A56126 #2AA526 #266AA5
split-complementary
#A126A5 #6AA526 #26A561
monochromatic
#400F42 #701B73 #A126A5 #CC37D1 #D969DC
Accessibility & contrast
On white
6.29
#A126A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#A126A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A126A5
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A126A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A126A5 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A53C65
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a126a5; /* rgb */ color: rgb(161, 38, 165); /* oklch */ color: oklch(51.7% 0.209 326.7);
Tailwind
colors: {
custom: {
50: '#c16fc0',
500: '#a126a5',
950: '#000000',
},
}SCSS
$custom: #a126a5; $custom-light: #c16fc0; $custom-dark: #000000;
JSON
{
"hex": "#a126a5",
"rgb": {
"r": 161,
"g": 38,
"b": 165
},
"hsl": {
"h": 298.11,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.51657,
"c": 0.20945,
"h": 326.7
},
"luminance": 0.1168
}Semantic roles & 50–950 ramp
primary
#A126A5
secondary
#67C364
accent
#E64247
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81