#A145BC#A145BC
#A145BC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.192 H 317.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A145BC |
|---|---|
| RGB | rgb(161, 69, 188) |
| HSL | hsl(286, 47%, 50%) |
| HSV | hsv(286, 63%, 74%) |
| CMYK | cmyk(14.4%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(46.26, 55.78, -46.11) |
| CIE-LCH | lch(46.26, 72.37, 320.42°) |
| OKLab | oklab(56.08% 0.1423 -0.129) |
| OKLCH | oklch(56.08% 0.192 317.8) |
| XYZ | xyz(25.9019, 15.4652, 49.1879) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.72
Medium Purple
#9E43A2
ΔE00 4.69
Darkorchid
#9932CC
ΔE00 4.95
Barney
#AC1DB8
ΔE00 5.25
Ugly Purple
#A442A0
ΔE00 5.48
Amethyst
#9B5FC0
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A145BC #60BC45
analogous
#6645BC #A145BC #BC459B
triadic
#A145BC #BCA145 #45BCA1
tetradic
#A145BC #BC6645 #60BC45 #459BBC
square
#A145BC #BC6645 #60BC45 #459BBC
split-complementary
#A145BC #9BBC45 #45BC66
monochromatic
#552463 #7B3490 #A145BC #B872CC #CE9FDC
Accessibility & contrast
On white
5.13
#A145BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#A145BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A145BC
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A145BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A145BC | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#4971B9
Tritanopia (blue-blind)
#A05A7A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a145bc; /* rgb */ color: rgb(161, 69, 188); /* oklch */ color: oklch(56.1% 0.192 317.8);
Tailwind
colors: {
custom: {
50: '#c07fd1',
500: '#a145bc',
950: '#000000',
},
}SCSS
$custom: #a145bc; $custom-light: #c07fd1; $custom-dark: #000000;
JSON
{
"hex": "#a145bc",
"rgb": {
"r": 161,
"g": 69,
"b": 188
},
"hsl": {
"h": 286.387,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.56079,
"c": 0.19209,
"h": 317.8
},
"luminance": 0.15464
}Semantic roles & 50–950 ramp
primary
#A145BC
secondary
#A0C994
accent
#D7516F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82