#A045B5#A045B5
#A045B5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.185 H 319.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A045B5 |
|---|---|
| RGB | rgb(160, 69, 181) |
| HSL | hsl(289, 45%, 49%) |
| HSV | hsv(289, 62%, 71%) |
| CMYK | cmyk(11.6%, 61.9%, 0%, 29%) |
| CIE-LAB | lab(45.73, 54.15, -42.88) |
| CIE-LCH | lch(45.73, 69.07, 321.62°) |
| OKLab | oklab(55.53% 0.141 -0.1196) |
| OKLCH | oklch(55.53% 0.185 319.7) |
| XYZ | xyz(24.9648, 15.0671, 45.3003) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.29
Medium Purple
#9E43A2
ΔE00 3.50
Ugly Purple
#A442A0
ΔE00 4.36
Barney
#AC1DB8
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.64
Amethyst
#9B5FC0
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045B5 #5AB545
analogous
#6845B5 #A045B5 #B54592
triadic
#A045B5 #B5A045 #45B5A0
tetradic
#A045B5 #B56845 #5AB545 #4592B5
square
#A045B5 #B56845 #5AB545 #4592B5
split-complementary
#A045B5 #92B545 #45B568
monochromatic
#52235C #793489 #A045B5 #B76FC8 #CD9BD9
Accessibility & contrast
On white
5.23
#A045B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#A045B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045B5
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045B5 | 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)
#2866B8
Deuteranopia (green-blind)
#4D6FB2
Tritanopia (blue-blind)
#A15777
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a045b5; /* rgb */ color: rgb(160, 69, 181); /* oklch */ color: oklch(55.5% 0.185 319.7);
Tailwind
colors: {
custom: {
50: '#bf7ecc',
500: '#a045b5',
950: '#000000',
},
}SCSS
$custom: #a045b5; $custom-light: #bf7ecc; $custom-dark: #000000;
JSON
{
"hex": "#a045b5",
"rgb": {
"r": 160,
"g": 69,
"b": 181
},
"hsl": {
"h": 288.75,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.55531,
"c": 0.18493,
"h": 319.7
},
"luminance": 0.15066
}Semantic roles & 50–950 ramp
primary
#A045B5
secondary
#9AC591
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82