#A145B2#A145B2
#A145B2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.183 H 321.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A145B2 |
|---|---|
| RGB | rgb(161, 69, 178) |
| HSL | hsl(291, 44%, 48%) |
| HSV | hsv(291, 61%, 70%) |
| CMYK | cmyk(9.6%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(45.70, 53.81, -41.15) |
| CIE-LCH | lch(45.70, 67.74, 322.59°) |
| OKLab | oklab(55.49% 0.1421 -0.1146) |
| OKLCH | oklch(55.49% 0.183 321.1) |
| XYZ | xyz(24.8610, 15.0489, 43.7060) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.56
Medium Purple
#9E43A2
ΔE00 2.93
Ugly Purple
#A442A0
ΔE00 3.72
Barney
#AC1DB8
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 6.18
Amethyst
#9B5FC0
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A145B2 #56B245
analogous
#6A45B2 #A145B2 #B2458C
triadic
#A145B2 #B2A145 #45B2A1
tetradic
#A145B2 #B26A45 #56B245 #458CB2
square
#A145B2 #B26A45 #56B245 #458CB2
split-complementary
#A145B2 #8CB245 #45B26A
monochromatic
#51235A #793486 #A145B2 #B96EC7 #CE9AD8
Accessibility & contrast
On white
5.24
#A145B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#A145B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A145B2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A145B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A145B2 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C66B5
Deuteranopia (green-blind)
#5070AF
Tritanopia (blue-blind)
#A25675
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a145b2; /* rgb */ color: rgb(161, 69, 178); /* oklch */ color: oklch(55.5% 0.183 321.1);
Tailwind
colors: {
custom: {
50: '#c07ec9',
500: '#a145b2',
950: '#000000',
},
}SCSS
$custom: #a145b2; $custom-light: #c07ec9; $custom-dark: #000000;
JSON
{
"hex": "#a145b2",
"rgb": {
"r": 161,
"g": 69,
"b": 178
},
"hsl": {
"h": 290.642,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.55489,
"c": 0.18256,
"h": 321.1
},
"luminance": 0.15048
}Semantic roles & 50–950 ramp
primary
#A145B2
secondary
#97C48F
accent
#D45468
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82