#A131A5#A131A5
#A131A5 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.198 H 326.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A131A5 |
|---|---|
| RGB | rgb(161, 49, 165) |
| HSL | hsl(298, 54%, 42%) |
| HSV | hsv(298, 70%, 65%) |
| CMYK | cmyk(2.4%, 70.3%, 0%, 35.3%) |
| CIE-LAB | lab(41.99, 59.76, -39.35) |
| CIE-LCH | lch(41.99, 71.55, 326.64°) |
| OKLab | oklab(52.57% 0.1648 -0.1092) |
| OKLCH | oklch(52.57% 0.198 326.5) |
| XYZ | xyz(22.5874, 12.4918, 36.8115) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.20
Barney
#AC1DB8
ΔE00 3.43
Ugly Purple
#A442A0
ΔE00 3.69
Purply
#983FB2
ΔE00 3.75
Warm Purple
#952E8F
ΔE00 4.12
Barney Purple
#A00498
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A131A5 #35A531
analogous
#6731A5 #A131A5 #A5316F
triadic
#A131A5 #A5A131 #31A5A1
tetradic
#A131A5 #A56731 #35A531 #316FA5
square
#A131A5 #A56731 #35A531 #316FA5
split-complementary
#A131A5 #6FA531 #31A567
monochromatic
#451547 #732376 #A131A5 #C54AC9 #D479D7
Accessibility & contrast
On white
6.00
#A131A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#A131A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A131A5
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A131A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A131A5 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#A54368
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a131a5; /* rgb */ color: rgb(161, 49, 165); /* oklch */ color: oklch(52.6% 0.198 326.5);
Tailwind
colors: {
custom: {
50: '#c074c0',
500: '#a131a5',
950: '#000000',
},
}SCSS
$custom: #a131a5; $custom-light: #c074c0; $custom-dark: #000000;
JSON
{
"hex": "#a131a5",
"rgb": {
"r": 161,
"g": 49,
"b": 165
},
"hsl": {
"h": 297.931,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.52573,
"c": 0.19766,
"h": 326.5
},
"luminance": 0.1249
}Semantic roles & 50–950 ramp
primary
#A131A5
secondary
#75C072
accent
#DE4A4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81