#A140BB#A140BB
#A140BB is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.198 H 318.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A140BB |
|---|---|
| RGB | rgb(161, 64, 187) |
| HSL | hsl(287, 49%, 49%) |
| HSV | hsv(287, 66%, 73%) |
| CMYK | cmyk(13.9%, 65.8%, 0%, 26.7%) |
| CIE-LAB | lab(45.40, 57.81, -46.90) |
| CIE-LCH | lch(45.40, 74.44, 320.95°) |
| OKLab | oklab(55.44% 0.1482 -0.1313) |
| OKLCH | oklch(55.44% 0.198 318.5) |
| XYZ | xyz(25.4998, 14.8328, 48.5239) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.09
Barney
#AC1DB8
ΔE00 4.33
Darkorchid
#9932CC
ΔE00 4.37
Medium Purple
#9E43A2
ΔE00 4.52
Ugly Purple
#A442A0
ΔE00 5.35
Vibrant Purple
#AD03DE
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A140BB #5ABB40
analogous
#6440BB #A140BB #BB4098
triadic
#A140BB #BBA140 #40BBA1
tetradic
#A140BB #BB6440 #5ABB40 #4098BB
square
#A140BB #BB6440 #5ABB40 #4098BB
split-complementary
#A140BB #98BB40 #40BB64
monochromatic
#522160 #7A308D #A140BB #B86CCD #CE99DC
Accessibility & contrast
On white
5.29
#A140BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#A140BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A140BB
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A140BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A140BB | 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)
#1365BF
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#A15678
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a140bb; /* rgb */ color: rgb(161, 64, 187); /* oklch */ color: oklch(55.4% 0.198 318.5);
Tailwind
colors: {
custom: {
50: '#c07cd0',
500: '#a140bb',
950: '#000000',
},
}SCSS
$custom: #a140bb; $custom-light: #c07cd0; $custom-dark: #000000;
JSON
{
"hex": "#a140bb",
"rgb": {
"r": 161,
"g": 64,
"b": 187
},
"hsl": {
"h": 287.317,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.55439,
"c": 0.19796,
"h": 318.5
},
"luminance": 0.14832
}Semantic roles & 50–950 ramp
primary
#A140BB
secondary
#9BC88F
accent
#D94F6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82