#A142B8#A142B8
#A142B8 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.192 H 319.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A142B8 |
|---|---|
| RGB | rgb(161, 66, 184) |
| HSL | hsl(288, 47%, 49%) |
| HSV | hsv(288, 64%, 72%) |
| CMYK | cmyk(12.5%, 64.1%, 0%, 27.8%) |
| CIE-LAB | lab(45.55, 56.34, -44.92) |
| CIE-LCH | lch(45.55, 72.05, 321.44°) |
| OKLab | oklab(55.48% 0.1459 -0.1255) |
| OKLCH | oklch(55.48% 0.192 319.3) |
| XYZ | xyz(25.2968, 14.9353, 46.8884) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.10
Medium Purple
#9E43A2
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.57
Ugly Purple
#A442A0
ΔE00 4.80
Darkorchid
#9932CC
ΔE00 4.98
Amethyst
#9B5FC0
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A142B8 #59B842
analogous
#6642B8 #A142B8 #B84294
triadic
#A142B8 #B8A142 #42B8A1
tetradic
#A142B8 #B86642 #59B842 #4294B8
square
#A142B8 #B86642 #59B842 #4294B8
split-complementary
#A142B8 #94B842 #42B866
monochromatic
#52225E #7A328B #A142B8 #B86DCB #CE9ADB
Accessibility & contrast
On white
5.27
#A142B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#A142B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A142B8
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A142B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A142B8 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F65BC
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#A15677
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a142b8; /* rgb */ color: rgb(161, 66, 184); /* oklch */ color: oklch(55.5% 0.192 319.3);
Tailwind
colors: {
custom: {
50: '#c07dce',
500: '#a142b8',
950: '#000000',
},
}SCSS
$custom: #a142b8; $custom-light: #c07dce; $custom-dark: #000000;
JSON
{
"hex": "#a142b8",
"rgb": {
"r": 161,
"g": 66,
"b": 184
},
"hsl": {
"h": 288.305,
"s": 47.2,
"l": 49.02
},
"oklch": {
"l": 0.55485,
"c": 0.19245,
"h": 319.3
},
"luminance": 0.14934
}Semantic roles & 50–950 ramp
primary
#A142B8
secondary
#9AC78F
accent
#D7516B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82