#A161B2#A161B2
#A161B2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.5% C 0.137 H 319.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A161B2 |
|---|---|
| RGB | rgb(161, 97, 178) |
| HSL | hsl(287, 34%, 54%) |
| HSV | hsv(287, 46%, 70%) |
| CMYK | cmyk(9.6%, 45.5%, 0%, 30.2%) |
| CIE-LAB | lab(51.08, 39.56, -32.67) |
| CIE-LCH | lch(51.08, 51.30, 320.45°) |
| OKLab | oklab(59.45% 0.1037 -0.0902) |
| OKLCH | oklch(59.45% 0.137 319) |
| XYZ | xyz(27.0075, 19.3417, 44.4215) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.69
Soft Purple
#A66FB5
ΔE00 4.32
Deep Lavender
#8D5EB7
ΔE00 5.24
Dark Lilac
#9C6DA5
ΔE00 5.25
Deep Lilac
#966EBD
ΔE00 5.28
Mediumorchid
#BA55D3
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A161B2 #72B261
analogous
#7961B2 #A161B2 #B2619B
triadic
#A161B2 #B2A161 #61B2A1
tetradic
#A161B2 #B27961 #72B261 #619BB2
square
#A161B2 #B27961 #72B261 #619BB2
split-complementary
#A161B2 #9BB261 #61B279
monochromatic
#5C3267 #804690 #A161B2 #B98AC6 #D2B3DA
Accessibility & contrast
On white
4.31
#A161B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#A161B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A161B2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A161B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A161B2 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#A16C81
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a161b2; /* rgb */ color: rgb(161, 97, 178); /* oklch */ color: oklch(59.5% 0.137 319.0);
Tailwind
colors: {
custom: {
50: '#be90c9',
500: '#a161b2',
950: '#000000',
},
}SCSS
$custom: #a161b2; $custom-light: #be90c9; $custom-dark: #000000;
JSON
{
"hex": "#a161b2",
"rgb": {
"r": 161,
"g": 97,
"b": 178
},
"hsl": {
"h": 287.407,
"s": 34.468,
"l": 53.922
},
"oklch": {
"l": 0.59454,
"c": 0.13745,
"h": 319
},
"luminance": 0.19341
}Semantic roles & 50–950 ramp
primary
#A161B2
secondary
#ADC9A6
accent
#CB5D74
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120D13
muted
#817D82