#A745B2#A745B2
#A745B2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.186 H 323.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A745B2 |
|---|---|
| RGB | rgb(167, 69, 178) |
| HSL | hsl(294, 44%, 48%) |
| HSV | hsv(294, 61%, 70%) |
| CMYK | cmyk(6.2%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(46.56, 55.33, -39.73) |
| CIE-LCH | lch(46.56, 68.12, 324.32°) |
| OKLab | oklab(56.29% 0.1492 -0.1103) |
| OKLCH | oklch(56.29% 0.186 323.5) |
| XYZ | xyz(26.0996, 15.6875, 43.7641) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.07
Ugly Purple
#A442A0
ΔE00 3.35
Purply
#983FB2
ΔE00 3.75
Barney
#AC1DB8
ΔE00 5.34
Purpley Pink
#C83CB9
ΔE00 6.07
Amethyst
#9B5FC0
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A745B2 #50B245
analogous
#7045B2 #A745B2 #B24586
triadic
#A745B2 #B2A745 #45B2A7
tetradic
#A745B2 #B27045 #50B245 #4586B2
square
#A745B2 #B27045 #50B245 #4586B2
split-complementary
#A745B2 #86B245 #45B270
monochromatic
#54235A #7E3486 #A745B2 #BE6EC7 #D19AD8
Accessibility & contrast
On white
5.08
#A745B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#A745B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A745B2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A745B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A745B2 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#AA5575
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a745b2; /* rgb */ color: rgb(167, 69, 178); /* oklch */ color: oklch(56.3% 0.186 323.5);
Tailwind
colors: {
custom: {
50: '#c47fc9',
500: '#a745b2',
950: '#000000',
},
}SCSS
$custom: #a745b2; $custom-light: #c47fc9; $custom-dark: #000000;
JSON
{
"hex": "#a745b2",
"rgb": {
"r": 167,
"g": 69,
"b": 178
},
"hsl": {
"h": 293.945,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.5629,
"c": 0.18557,
"h": 323.5
},
"luminance": 0.15686
}Semantic roles & 50–950 ramp
primary
#A745B2
secondary
#94C48F
accent
#D45461
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82