#A652C1#A652C1
#A652C1 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.180 H 317.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A652C1 |
|---|---|
| RGB | rgb(166, 82, 193) |
| HSL | hsl(285, 47%, 54%) |
| HSV | hsv(285, 58%, 76%) |
| CMYK | cmyk(14%, 57.5%, 0%, 24.3%) |
| CIE-LAB | lab(49.49, 51.87, -43.84) |
| CIE-LCH | lch(49.49, 67.91, 319.79°) |
| OKLab | oklab(58.66% 0.1323 -0.1223) |
| OKLCH | oklch(58.66% 0.18 317.2) |
| XYZ | xyz(28.3674, 17.9929, 52.4204) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.60
Mediumorchid
#BA55D3
ΔE00 4.59
Deep Lavender
#8D5EB7
ΔE00 5.60
Purply
#983FB2
ΔE00 5.91
Lightish Purple
#A552E6
ΔE00 6.03
Medium Purple
#9E43A2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652C1 #6DC152
analogous
#6F52C1 #A652C1 #C152A5
triadic
#A652C1 #C1A652 #52C1A6
tetradic
#A652C1 #C16F52 #6DC152 #52A5C1
square
#A652C1 #C16F52 #6DC152 #52A5C1
split-complementary
#A652C1 #A5C152 #52C16F
monochromatic
#5F2870 #85389D #A652C1 #BD7FD1 #D4ACE1
Accessibility & contrast
On white
4.57
#A652C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#A652C1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A652C1
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652C1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A652C1 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3770C5
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#A56482
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a652c1; /* rgb */ color: rgb(166, 82, 193); /* oklch */ color: oklch(58.7% 0.180 317.2);
Tailwind
colors: {
custom: {
50: '#c387d4',
500: '#a652c1',
950: '#000000',
},
}SCSS
$custom: #a652c1; $custom-light: #c387d4; $custom-dark: #000000;
JSON
{
"hex": "#a652c1",
"rgb": {
"r": 166,
"g": 82,
"b": 193
},
"hsl": {
"h": 285.405,
"s": 47.234,
"l": 53.922
},
"oklch": {
"l": 0.58655,
"c": 0.18021,
"h": 317.2
},
"luminance": 0.17992
}Semantic roles & 50–950 ramp
primary
#A652C1
secondary
#ABCFA0
accent
#D75172
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83