#A045BB#A045BB
#A045BB is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.191 H 317.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A045BB |
|---|---|
| RGB | rgb(160, 69, 187) |
| HSL | hsl(286, 46%, 50%) |
| HSV | hsv(286, 63%, 73%) |
| CMYK | cmyk(14.4%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.07, 55.34, -45.85) |
| CIE-LCH | lch(46.07, 71.87, 320.36°) |
| OKLab | oklab(55.89% 0.1411 -0.1283) |
| OKLCH | oklch(55.89% 0.191 317.7) |
| XYZ | xyz(25.5937, 15.3187, 48.6127) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.51
Medium Purple
#9E43A2
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 4.92
Barney
#AC1DB8
ΔE00 5.22
Ugly Purple
#A442A0
ΔE00 5.40
Amethyst
#9B5FC0
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045BB #60BB45
analogous
#6545BB #A045BB #BB459B
triadic
#A045BB #BBA045 #45BBA0
tetradic
#A045BB #BB6545 #60BB45 #459BBB
square
#A045BB #BB6545 #60BB45 #459BBB
split-complementary
#A045BB #9BBB45 #45BB65
monochromatic
#542462 #7A348F #A045BB #B772CB #CE9FDC
Accessibility & contrast
On white
5.17
#A045BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#A045BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045BB
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045BB | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#9F5A7A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a045bb; /* rgb */ color: rgb(160, 69, 187); /* oklch */ color: oklch(55.9% 0.191 317.7);
Tailwind
colors: {
custom: {
50: '#bf7ed0',
500: '#a045bb',
950: '#000000',
},
}SCSS
$custom: #a045bb; $custom-light: #bf7ed0; $custom-dark: #000000;
JSON
{
"hex": "#a045bb",
"rgb": {
"r": 160,
"g": 69,
"b": 187
},
"hsl": {
"h": 286.271,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.55889,
"c": 0.1907,
"h": 317.7
},
"luminance": 0.15318
}Semantic roles & 50–950 ramp
primary
#A045BB
secondary
#A0C894
accent
#D65270
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82