#A142BB#A142BB
#A142BB is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.195 H 318.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A142BB |
|---|---|
| RGB | rgb(161, 66, 187) |
| HSL | hsl(287, 48%, 50%) |
| HSV | hsv(287, 65%, 73%) |
| CMYK | cmyk(13.9%, 64.7%, 0%, 26.7%) |
| CIE-LAB | lab(45.72, 56.93, -46.39) |
| CIE-LCH | lch(45.72, 73.44, 320.82°) |
| OKLab | oklab(55.67% 0.1459 -0.1298) |
| OKLCH | oklch(55.67% 0.195 318.3) |
| XYZ | xyz(25.6146, 15.0624, 48.5622) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.28
Medium Purple
#9E43A2
ΔE00 4.49
Darkorchid
#9932CC
ΔE00 4.62
Barney
#AC1DB8
ΔE00 4.67
Ugly Purple
#A442A0
ΔE00 5.32
Vibrant Purple
#AD03DE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A142BB #5CBB42
analogous
#6442BB #A142BB #BB4299
triadic
#A142BB #BBA142 #42BBA1
tetradic
#A142BB #BB6442 #5CBB42 #4299BB
square
#A142BB #BB6442 #5CBB42 #4299BB
split-complementary
#A142BB #99BB42 #42BB64
monochromatic
#532261 #7A328E #A142BB #B86ECC #CE9CDC
Accessibility & contrast
On white
5.23
#A142BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#A142BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A142BB
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A142BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A142BB | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#A15779
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a142bb; /* rgb */ color: rgb(161, 66, 187); /* oklch */ color: oklch(55.7% 0.195 318.3);
Tailwind
colors: {
custom: {
50: '#c07dd0',
500: '#a142bb',
950: '#000000',
},
}SCSS
$custom: #a142bb; $custom-light: #c07dd0; $custom-dark: #000000;
JSON
{
"hex": "#a142bb",
"rgb": {
"r": 161,
"g": 66,
"b": 187
},
"hsl": {
"h": 287.107,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.55667,
"c": 0.19528,
"h": 318.3
},
"luminance": 0.15061
}Semantic roles & 50–950 ramp
primary
#A142BB
secondary
#9DC891
accent
#D7506D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82