#A045BF#A045BF
#A045BF is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.195 H 316.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A045BF |
|---|---|
| RGB | rgb(160, 69, 191) |
| HSL | hsl(285, 49%, 51%) |
| HSV | hsv(285, 64%, 75%) |
| CMYK | cmyk(16.2%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(46.30, 56.15, -47.80) |
| CIE-LCH | lch(46.30, 73.74, 319.59°) |
| OKLab | oklab(56.13% 0.1411 -0.134) |
| OKLCH | oklch(56.13% 0.195 316.5) |
| XYZ | xyz(26.0279, 15.4924, 50.8994) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.88
Darkorchid
#9932CC
ΔE00 4.53
Medium Purple
#9E43A2
ΔE00 5.24
Barney
#AC1DB8
ΔE00 5.42
Ugly Purple
#A442A0
ΔE00 6.07
Amethyst
#9B5FC0
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045BF #64BF45
analogous
#6345BF #A045BF #BF45A1
triadic
#A045BF #BFA045 #45BFA0
tetradic
#A045BF #BF6345 #64BF45 #45A1BF
square
#A045BF #BF6345 #64BF45 #45A1BF
split-complementary
#A045BF #A1BF45 #45BF63
monochromatic
#552366 #7B3394 #A045BF #B773CF #CFA0DE
Accessibility & contrast
On white
5.12
#A045BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#A045BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045BF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045BF | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#9E5B7C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a045bf; /* rgb */ color: rgb(160, 69, 191); /* oklch */ color: oklch(56.1% 0.195 316.5);
Tailwind
colors: {
custom: {
50: '#bf7fd3',
500: '#a045bf',
950: '#000000',
},
}SCSS
$custom: #a045bf; $custom-light: #bf7fd3; $custom-dark: #000000;
JSON
{
"hex": "#a045bf",
"rgb": {
"r": 160,
"g": 69,
"b": 191
},
"hsl": {
"h": 284.754,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.56133,
"c": 0.19457,
"h": 316.5
},
"luminance": 0.15491
}Semantic roles & 50–950 ramp
primary
#A045BF
secondary
#A3CB95
accent
#D84F72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83