#A146B2#A146B2
#A146B2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.181 H 321.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A146B2 |
|---|---|
| RGB | rgb(161, 70, 178) |
| HSL | hsl(291, 44%, 49%) |
| HSV | hsv(291, 61%, 70%) |
| CMYK | cmyk(9.6%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(45.87, 53.35, -40.88) |
| CIE-LCH | lch(45.87, 67.21, 322.54°) |
| OKLab | oklab(55.61% 0.1409 -0.1138) |
| OKLCH | oklch(55.61% 0.181 321.1) |
| XYZ | xyz(24.9231, 15.1729, 43.7267) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.72
Medium Purple
#9E43A2
ΔE00 2.97
Ugly Purple
#A442A0
ΔE00 3.74
Barney
#AC1DB8
ΔE00 5.32
Darkorchid
#9932CC
ΔE00 6.32
Amethyst
#9B5FC0
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A146B2 #57B246
analogous
#6B46B2 #A146B2 #B2468D
triadic
#A146B2 #B2A146 #46B2A1
tetradic
#A146B2 #B26B46 #57B246 #468DB2
square
#A146B2 #B26B46 #57B246 #468DB2
split-complementary
#A146B2 #8DB246 #46B26B
monochromatic
#52235A #793586 #A146B2 #B96FC6 #CE9BD8
Accessibility & contrast
On white
5.21
#A146B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#A146B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A146B2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A146B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A146B2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#A25775
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a146b2; /* rgb */ color: rgb(161, 70, 178); /* oklch */ color: oklch(55.6% 0.181 321.1);
Tailwind
colors: {
custom: {
50: '#c07fc9',
500: '#a146b2',
950: '#000000',
},
}SCSS
$custom: #a146b2; $custom-light: #c07fc9; $custom-dark: #000000;
JSON
{
"hex": "#a146b2",
"rgb": {
"r": 161,
"g": 70,
"b": 178
},
"hsl": {
"h": 290.556,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.55611,
"c": 0.1811,
"h": 321.1
},
"luminance": 0.15172
}Semantic roles & 50–950 ramp
primary
#A146B2
secondary
#98C490
accent
#D35568
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82