#A045BC#A045BC
#A045BC is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.192 H 317.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A045BC |
|---|---|
| RGB | rgb(160, 69, 188) |
| HSL | hsl(286, 47%, 50%) |
| HSV | hsv(286, 63%, 74%) |
| CMYK | cmyk(14.9%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(46.13, 55.54, -46.34) |
| CIE-LCH | lch(46.13, 72.33, 320.16°) |
| OKLab | oklab(55.95% 0.1411 -0.1297) |
| OKLCH | oklch(55.95% 0.192 317.4) |
| XYZ | xyz(25.7011, 15.3617, 49.1785) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.59
Medium Purple
#9E43A2
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 4.82
Barney
#AC1DB8
ΔE00 5.26
Ugly Purple
#A442A0
ΔE00 5.57
Amethyst
#9B5FC0
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045BC #61BC45
analogous
#6445BC #A045BC #BC459D
triadic
#A045BC #BCA045 #45BCA0
tetradic
#A045BC #BC6445 #61BC45 #459DBC
square
#A045BC #BC6445 #61BC45 #459DBC
split-complementary
#A045BC #9DBC45 #45BC64
monochromatic
#542463 #7A3490 #A045BC #B772CC #CE9FDC
Accessibility & contrast
On white
5.16
#A045BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#A045BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045BC
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045BC | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#9F5A7A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a045bc; /* rgb */ color: rgb(160, 69, 188); /* oklch */ color: oklch(56.0% 0.192 317.4);
Tailwind
colors: {
custom: {
50: '#bf7fd1',
500: '#a045bc',
950: '#000000',
},
}SCSS
$custom: #a045bc; $custom-light: #bf7fd1; $custom-dark: #000000;
JSON
{
"hex": "#a045bc",
"rgb": {
"r": 160,
"g": 69,
"b": 188
},
"hsl": {
"h": 285.882,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.5595,
"c": 0.19166,
"h": 317.4
},
"luminance": 0.15361
}Semantic roles & 50–950 ramp
primary
#A045BC
secondary
#A0C994
accent
#D75171
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82