#A142B2#A142B2
#A142B2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.187 H 321.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A142B2 |
|---|---|
| RGB | rgb(161, 66, 178) |
| HSL | hsl(291, 46%, 48%) |
| HSV | hsv(291, 63%, 70%) |
| CMYK | cmyk(9.6%, 62.9%, 0%, 30.2%) |
| CIE-LAB | lab(45.21, 55.17, -41.94) |
| CIE-LCH | lch(45.21, 69.30, 322.76°) |
| OKLab | oklab(55.13% 0.1458 -0.1168) |
| OKLCH | oklch(55.13% 0.187 321.3) |
| XYZ | xyz(24.6811, 14.6891, 43.6461) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.16
Medium Purple
#9E43A2
ΔE00 2.91
Ugly Purple
#A442A0
ΔE00 3.75
Barney
#AC1DB8
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 5.81
Amethyst
#9B5FC0
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A142B2 #53B242
analogous
#6942B2 #A142B2 #B2428B
triadic
#A142B2 #B2A142 #42B2A1
tetradic
#A142B2 #B26942 #53B242 #428BB2
square
#A142B2 #B26942 #53B242 #428BB2
split-complementary
#A142B2 #8BB242 #42B269
monochromatic
#502159 #793185 #A142B2 #B96AC8 #CE96D8
Accessibility & contrast
On white
5.33
#A142B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#A142B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A142B2
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A142B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A142B2 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#4E6FAF
Tritanopia (blue-blind)
#A25474
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a142b2; /* rgb */ color: rgb(161, 66, 178); /* oklch */ color: oklch(55.1% 0.187 321.3);
Tailwind
colors: {
custom: {
50: '#c07dc9',
500: '#a142b2',
950: '#000000',
},
}SCSS
$custom: #a142b2; $custom-light: #c07dc9; $custom-dark: #000000;
JSON
{
"hex": "#a142b2",
"rgb": {
"r": 161,
"g": 66,
"b": 178
},
"hsl": {
"h": 290.893,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.55129,
"c": 0.18685,
"h": 321.3
},
"luminance": 0.14688
}Semantic roles & 50–950 ramp
primary
#A142B2
secondary
#94C48C
accent
#D65266
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82