#A045A6#A045A6
#A045A6 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.7% C 0.171 H 325.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A045A6 |
|---|---|
| RGB | rgb(160, 69, 166) |
| HSL | hsl(296, 41%, 46%) |
| HSV | hsv(296, 58%, 65%) |
| CMYK | cmyk(3.6%, 58.4%, 0%, 34.9%) |
| CIE-LAB | lab(44.92, 51.27, -35.31) |
| CIE-LCH | lch(44.92, 62.25, 325.44°) |
| OKLab | oklab(54.68% 0.1402 -0.0977) |
| OKLCH | oklch(54.68% 0.171 325.1) |
| XYZ | xyz(23.5077, 14.4843, 37.6265) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 0.88
Ugly Purple
#A442A0
ΔE00 1.67
Purply
#983FB2
ΔE00 3.75
Barney
#AC1DB8
ΔE00 5.83
Warm Purple
#952E8F
ΔE00 6.23
Light Eggplant
#894585
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045A6 #4BA645
analogous
#6F45A6 #A045A6 #A6457B
triadic
#A045A6 #A6A045 #45A6A0
tetradic
#A045A6 #A66F45 #4BA645 #457BA6
square
#A045A6 #A66F45 #4BA645 #457BA6
split-complementary
#A045A6 #7BA645 #45A66F
monochromatic
#4D2150 #76337B #A045A6 #BB68C0 #CE93D2
Accessibility & contrast
On white
5.39
#A045A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#A045A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045A6
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045A6 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#A3526F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #a045a6; /* rgb */ color: rgb(160, 69, 166); /* oklch */ color: oklch(54.7% 0.171 325.1);
Tailwind
colors: {
custom: {
50: '#bf7ec1',
500: '#a045a6',
950: '#000000',
},
}SCSS
$custom: #a045a6; $custom-light: #bf7ec1; $custom-dark: #000000;
JSON
{
"hex": "#a045a6",
"rgb": {
"r": 160,
"g": 69,
"b": 166
},
"hsl": {
"h": 296.289,
"s": 41.277,
"l": 46.078
},
"oklch": {
"l": 0.54683,
"c": 0.17085,
"h": 325.1
},
"luminance": 0.14483
}Semantic roles & 50–950 ramp
primary
#A045A6
secondary
#8CBE89
accent
#D1575E
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81