#A745BF#A745BF
#A745BF is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.198 H 319.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A745BF |
|---|---|
| RGB | rgb(167, 69, 191) |
| HSL | hsl(288, 49%, 51%) |
| HSV | hsv(288, 64%, 75%) |
| CMYK | cmyk(12.6%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(47.28, 57.81, -46.18) |
| CIE-LCH | lch(47.28, 73.99, 321.38°) |
| OKLab | oklab(57.04% 0.1496 -0.1291) |
| OKLCH | oklch(57.04% 0.198 319.2) |
| XYZ | xyz(27.4672, 16.2346, 50.9669) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.80
Medium Purple
#9E43A2
ΔE00 5.11
Barney
#AC1DB8
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.59
Ugly Purple
#A442A0
ΔE00 5.62
Amethyst
#9B5FC0
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A745BF #5DBF45
analogous
#6A45BF #A745BF #BF459A
triadic
#A745BF #BFA745 #45BFA7
tetradic
#A745BF #BF6A45 #5DBF45 #459ABF
square
#A745BF #BF6A45 #5DBF45 #459ABF
split-complementary
#A745BF #9ABF45 #45BF6A
monochromatic
#592366 #813394 #A745BF #BD73CF #D2A0DE
Accessibility & contrast
On white
4.95
#A745BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#A745BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A745BF
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A745BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A745BF | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206AC3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#A75A7C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a745bf; /* rgb */ color: rgb(167, 69, 191); /* oklch */ color: oklch(57.0% 0.198 319.2);
Tailwind
colors: {
custom: {
50: '#c47fd3',
500: '#a745bf',
950: '#000000',
},
}SCSS
$custom: #a745bf; $custom-light: #c47fd3; $custom-dark: #000000;
JSON
{
"hex": "#a745bf",
"rgb": {
"r": 167,
"g": 69,
"b": 191
},
"hsl": {
"h": 288.197,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.57044,
"c": 0.19756,
"h": 319.2
},
"luminance": 0.16233
}Semantic roles & 50–950 ramp
primary
#A745BF
secondary
#A0CB95
accent
#D84F6A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83