#A045B7#A045B7
#A045B7 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.187 H 319.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A045B7 |
|---|---|
| RGB | rgb(160, 69, 183) |
| HSL | hsl(288, 45%, 49%) |
| HSV | hsv(288, 62%, 72%) |
| CMYK | cmyk(12.6%, 62.3%, 0%, 28.2%) |
| CIE-LAB | lab(45.84, 54.54, -43.87) |
| CIE-LCH | lch(45.84, 70.00, 321.19°) |
| OKLab | oklab(55.65% 0.1411 -0.1225) |
| OKLCH | oklch(55.65% 0.187 319) |
| XYZ | xyz(25.1715, 15.1498, 46.3889) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.31
Medium Purple
#9E43A2
ΔE00 3.86
Ugly Purple
#A442A0
ΔE00 4.71
Barney
#AC1DB8
ΔE00 5.11
Darkorchid
#9932CC
ΔE00 5.38
Amethyst
#9B5FC0
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045B7 #5CB745
analogous
#6745B7 #A045B7 #B74595
triadic
#A045B7 #B7A045 #45B7A0
tetradic
#A045B7 #B76745 #5CB745 #4595B7
square
#A045B7 #B76745 #5CB745 #4595B7
split-complementary
#A045B7 #95B745 #45B767
monochromatic
#52235E #79348B #A045B7 #B770C9 #CD9DDA
Accessibility & contrast
On white
5.21
#A045B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#A045B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045B7
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045B7 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2666BA
Deuteranopia (green-blind)
#4C70B4
Tritanopia (blue-blind)
#A05878
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a045b7; /* rgb */ color: rgb(160, 69, 183); /* oklch */ color: oklch(55.6% 0.187 319.0);
Tailwind
colors: {
custom: {
50: '#bf7ecd',
500: '#a045b7',
950: '#000000',
},
}SCSS
$custom: #a045b7; $custom-light: #bf7ecd; $custom-dark: #000000;
JSON
{
"hex": "#a045b7",
"rgb": {
"r": 160,
"g": 69,
"b": 183
},
"hsl": {
"h": 287.895,
"s": 45.238,
"l": 49.412
},
"oklch": {
"l": 0.55649,
"c": 0.18685,
"h": 319
},
"luminance": 0.15149
}Semantic roles & 50–950 ramp
primary
#A045B7
secondary
#9CC692
accent
#D5536D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82