#A645C3#A645C3
#A645C3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.2% C 0.201 H 317.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A645C3 |
|---|---|
| RGB | rgb(166, 69, 195) |
| HSL | hsl(286, 51%, 52%) |
| HSV | hsv(286, 65%, 76%) |
| CMYK | cmyk(14.9%, 64.6%, 0%, 23.5%) |
| CIE-LAB | lab(47.37, 58.36, -48.37) |
| CIE-LCH | lch(47.37, 75.80, 320.35°) |
| OKLab | oklab(57.16% 0.1483 -0.1355) |
| OKLCH | oklch(57.16% 0.201 317.6) |
| XYZ | xyz(27.7029, 16.3045, 53.3070) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.96
Darkorchid
#9932CC
ΔE00 5.14
Barney
#AC1DB8
ΔE00 5.65
Medium Purple
#9E43A2
ΔE00 5.76
Amethyst
#9B5FC0
ΔE00 5.98
Mediumorchid
#BA55D3
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A645C3 #62C345
analogous
#6745C3 #A645C3 #C345A1
triadic
#A645C3 #C3A645 #45C3A6
tetradic
#A645C3 #C36745 #62C345 #45A1C3
square
#A645C3 #C36745 #62C345 #45A1C3
split-complementary
#A645C3 #A1C345 #45C367
monochromatic
#5A236B #813199 #A645C3 #BC73D2 #D2A2E1
Accessibility & contrast
On white
4.93
#A645C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#A645C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A645C3
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A645C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A645C3 | 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)
#186AC7
Deuteranopia (green-blind)
#4973C0
Tritanopia (blue-blind)
#A55C7E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a645c3; /* rgb */ color: rgb(166, 69, 195); /* oklch */ color: oklch(57.2% 0.201 317.6);
Tailwind
colors: {
custom: {
50: '#c47fd6',
500: '#a645c3',
950: '#000000',
},
}SCSS
$custom: #a645c3; $custom-light: #c47fd6; $custom-dark: #000000;
JSON
{
"hex": "#a645c3",
"rgb": {
"r": 166,
"g": 69,
"b": 195
},
"hsl": {
"h": 286.19,
"s": 51.22,
"l": 51.765
},
"oklch": {
"l": 0.57155,
"c": 0.20088,
"h": 317.6
},
"luminance": 0.16303
}Semantic roles & 50–950 ramp
primary
#A645C3
secondary
#A3CE96
accent
#DB4D6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83