#A945BB#A945BB
#A945BB is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.195 H 321.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A945BB |
|---|---|
| RGB | rgb(169, 69, 187) |
| HSL | hsl(291, 46%, 50%) |
| HSV | hsv(291, 63%, 73%) |
| CMYK | cmyk(9.6%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(47.34, 57.52, -43.74) |
| CIE-LCH | lch(47.34, 72.26, 322.75°) |
| OKLab | oklab(57.07% 0.1519 -0.1219) |
| OKLCH | oklch(57.07% 0.195 321.3) |
| XYZ | xyz(27.4589, 16.2805, 48.7002) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.98
Medium Purple
#9E43A2
ΔE00 4.54
Ugly Purple
#A442A0
ΔE00 4.88
Barney
#AC1DB8
ΔE00 5.40
Purpley Pink
#C83CB9
ΔE00 6.02
Amethyst
#9B5FC0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A945BB #57BB45
analogous
#6E45BB #A945BB #BB4592
triadic
#A945BB #BBA945 #45BBA9
tetradic
#A945BB #BB6E45 #57BB45 #4592BB
square
#A945BB #BB6E45 #57BB45 #4592BB
split-complementary
#A945BB #92BB45 #45BB6E
monochromatic
#582462 #81348F #A945BB #BE72CB #D29FDC
Accessibility & contrast
On white
4.93
#A945BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#A945BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A945BB
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A945BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A945BB | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#AB587A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a945bb; /* rgb */ color: rgb(169, 69, 187); /* oklch */ color: oklch(57.1% 0.195 321.3);
Tailwind
colors: {
custom: {
50: '#c67fd0',
500: '#a945bb',
950: '#000000',
},
}SCSS
$custom: #a945bb; $custom-light: #c67fd0; $custom-dark: #000000;
JSON
{
"hex": "#a945bb",
"rgb": {
"r": 169,
"g": 69,
"b": 187
},
"hsl": {
"h": 290.847,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.57072,
"c": 0.19477,
"h": 321.3
},
"luminance": 0.16279
}Semantic roles & 50–950 ramp
primary
#A945BB
secondary
#9CC894
accent
#D65266
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82