#A142B6#A142B6
#A142B6 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.191 H 319.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A142B6 |
|---|---|
| RGB | rgb(161, 66, 182) |
| HSL | hsl(289, 47%, 49%) |
| HSV | hsv(289, 64%, 71%) |
| CMYK | cmyk(11.5%, 63.7%, 0%, 28.6%) |
| CIE-LAB | lab(45.43, 55.95, -43.93) |
| CIE-LCH | lch(45.43, 71.13, 321.86°) |
| OKLab | oklab(55.36% 0.1459 -0.1226) |
| OKLCH | oklch(55.36% 0.191 319.9) |
| XYZ | xyz(25.0886, 14.8521, 45.7921) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.06
Medium Purple
#9E43A2
ΔE00 3.62
Ugly Purple
#A442A0
ΔE00 4.46
Barney
#AC1DB8
ΔE00 4.54
Darkorchid
#9932CC
ΔE00 5.25
Amethyst
#9B5FC0
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A142B6 #57B642
analogous
#6742B6 #A142B6 #B64291
triadic
#A142B6 #B6A142 #42B6A1
tetradic
#A142B6 #B66742 #57B642 #4291B6
square
#A142B6 #B66742 #57B642 #4291B6
split-complementary
#A142B6 #91B642 #42B667
monochromatic
#52215C #793289 #A142B6 #B96CCA #CE99DA
Accessibility & contrast
On white
5.29
#A142B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#A142B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A142B6
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A142B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A142B6 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2265BA
Deuteranopia (green-blind)
#4B6FB3
Tritanopia (blue-blind)
#A25576
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a142b6; /* rgb */ color: rgb(161, 66, 182); /* oklch */ color: oklch(55.4% 0.191 319.9);
Tailwind
colors: {
custom: {
50: '#c07dcc',
500: '#a142b6',
950: '#000000',
},
}SCSS
$custom: #a142b6; $custom-light: #c07dcc; $custom-dark: #000000;
JSON
{
"hex": "#a142b6",
"rgb": {
"r": 161,
"g": 66,
"b": 182
},
"hsl": {
"h": 289.138,
"s": 46.774,
"l": 48.627
},
"oklch": {
"l": 0.55365,
"c": 0.19057,
"h": 319.9
},
"luminance": 0.14851
}Semantic roles & 50–950 ramp
primary
#A142B6
secondary
#98C68E
accent
#D65169
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82