#A652B7#A652B7
#A652B7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.1% C 0.170 H 320.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A652B7 |
|---|---|
| RGB | rgb(166, 82, 183) |
| HSL | hsl(290, 41%, 52%) |
| HSV | hsv(290, 55%, 72%) |
| CMYK | cmyk(9.3%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(48.96, 49.85, -38.87) |
| CIE-LCH | lch(48.96, 63.22, 322.05°) |
| OKLab | oklab(58.1% 0.1316 -0.1079) |
| OKLCH | oklch(58.1% 0.17 320.6) |
| XYZ | xyz(27.2894, 17.5617, 46.7428) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.29
Medium Purple
#9E43A2
ΔE00 5.21
Ugly Purple
#A442A0
ΔE00 5.42
Mediumorchid
#BA55D3
ΔE00 5.59
Purply
#983FB2
ΔE00 5.72
Deep Lavender
#8D5EB7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652B7 #63B752
analogous
#7452B7 #A652B7 #B75296
triadic
#A652B7 #B7A652 #52B7A6
tetradic
#A652B7 #B77452 #63B752 #5296B7
square
#A652B7 #B77452 #63B752 #5296B7
split-complementary
#A652B7 #96B752 #52B774
monochromatic
#5B2A65 #823C90 #A652B7 #BC7DC9 #D2A8DB
Accessibility & contrast
On white
4.65
#A652B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#A652B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A652B7
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A652B7 | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#A7617D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a652b7; /* rgb */ color: rgb(166, 82, 183); /* oklch */ color: oklch(58.1% 0.170 320.6);
Tailwind
colors: {
custom: {
50: '#c386cd',
500: '#a652b7',
950: '#000000',
},
}SCSS
$custom: #a652b7; $custom-light: #c386cd; $custom-dark: #000000;
JSON
{
"hex": "#a652b7",
"rgb": {
"r": 166,
"g": 82,
"b": 183
},
"hsl": {
"h": 289.901,
"s": 41.224,
"l": 51.961
},
"oklch": {
"l": 0.58098,
"c": 0.17018,
"h": 320.6
},
"luminance": 0.1756
}Semantic roles & 50–950 ramp
primary
#A652B7
secondary
#A4C99C
accent
#D1576B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B13
muted
#827C82