#A140B2#A140B2
#A140B2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.190 H 321.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A140B2 |
|---|---|
| RGB | rgb(161, 64, 178) |
| HSL | hsl(291, 47%, 47%) |
| HSV | hsv(291, 64%, 70%) |
| CMYK | cmyk(9.6%, 64%, 0%, 30.2%) |
| CIE-LAB | lab(44.88, 56.06, -42.45) |
| CIE-LCH | lch(44.88, 70.32, 322.87°) |
| OKLab | oklab(54.9% 0.1482 -0.1183) |
| OKLCH | oklch(54.9% 0.19 321.4) |
| XYZ | xyz(24.5663, 14.4595, 43.6078) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.95
Medium Purple
#9E43A2
ΔE00 2.96
Ugly Purple
#A442A0
ΔE00 3.82
Barney
#AC1DB8
ΔE00 4.21
Darkorchid
#9932CC
ΔE00 5.59
Warm Purple
#952E8F
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A140B2 #51B240
analogous
#6840B2 #A140B2 #B2408A
triadic
#A140B2 #B2A140 #40B2A1
tetradic
#A140B2 #B26840 #51B240 #408AB2
square
#A140B2 #B26840 #51B240 #408AB2
split-complementary
#A140B2 #8AB240 #40B268
monochromatic
#502058 #783085 #A140B2 #BA67C8 #CE94D8
Accessibility & contrast
On white
5.40
#A140B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#A140B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A140B2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A140B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A140B2 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#A35373
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #a140b2; /* rgb */ color: rgb(161, 64, 178); /* oklch */ color: oklch(54.9% 0.190 321.4);
Tailwind
colors: {
custom: {
50: '#c07cc9',
500: '#a140b2',
950: '#000000',
},
}SCSS
$custom: #a140b2; $custom-light: #c07cc9; $custom-dark: #000000;
JSON
{
"hex": "#a140b2",
"rgb": {
"r": 161,
"g": 64,
"b": 178
},
"hsl": {
"h": 291.053,
"s": 47.107,
"l": 47.451
},
"oklch": {
"l": 0.54897,
"c": 0.18964,
"h": 321.4
},
"luminance": 0.14458
}Semantic roles & 50–950 ramp
primary
#A140B2
secondary
#93C48A
accent
#D75165
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82