#A045B4#A045B4
#A045B4 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.184 H 320.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A045B4 |
|---|---|
| RGB | rgb(160, 69, 180) |
| HSL | hsl(289, 45%, 49%) |
| HSV | hsv(289, 62%, 71%) |
| CMYK | cmyk(11.1%, 61.7%, 0%, 29.4%) |
| CIE-LAB | lab(45.67, 53.95, -42.38) |
| CIE-LCH | lch(45.67, 68.61, 321.85°) |
| OKLab | oklab(55.47% 0.141 -0.1182) |
| OKLCH | oklch(55.47% 0.184 320) |
| XYZ | xyz(24.8625, 15.0263, 44.7619) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.31
Medium Purple
#9E43A2
ΔE00 3.32
Ugly Purple
#A442A0
ΔE00 4.18
Barney
#AC1DB8
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.77
Amethyst
#9B5FC0
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045B4 #59B445
analogous
#6945B4 #A045B4 #B44591
triadic
#A045B4 #B4A045 #45B4A0
tetradic
#A045B4 #B46945 #59B445 #4591B4
square
#A045B4 #B46945 #59B445 #4591B4
split-complementary
#A045B4 #91B445 #45B469
monochromatic
#51235C #793488 #A045B4 #B86FC8 #CD9BD9
Accessibility & contrast
On white
5.24
#A045B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#A045B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045B4
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045B4 | 1.00 | 5.24 | 4.00 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A66B7
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#A15776
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a045b4; /* rgb */ color: rgb(160, 69, 180); /* oklch */ color: oklch(55.5% 0.184 320.0);
Tailwind
colors: {
custom: {
50: '#bf7ecb',
500: '#a045b4',
950: '#000000',
},
}SCSS
$custom: #a045b4; $custom-light: #bf7ecb; $custom-dark: #000000;
JSON
{
"hex": "#a045b4",
"rgb": {
"r": 160,
"g": 69,
"b": 180
},
"hsl": {
"h": 289.189,
"s": 44.578,
"l": 48.824
},
"oklch": {
"l": 0.55473,
"c": 0.18398,
"h": 320
},
"luminance": 0.15025
}Semantic roles & 50–950 ramp
primary
#A045B4
secondary
#9AC590
accent
#D4546B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120A13
muted
#817C82