#A652BE#A652BE
#A652BE is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.5% C 0.177 H 318.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A652BE |
|---|---|
| RGB | rgb(166, 82, 190) |
| HSL | hsl(287, 45%, 53%) |
| HSV | hsv(287, 57%, 75%) |
| CMYK | cmyk(12.6%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(49.33, 51.26, -42.36) |
| CIE-LCH | lch(49.33, 66.50, 320.43°) |
| OKLab | oklab(58.49% 0.1321 -0.118) |
| OKLCH | oklch(58.49% 0.177 318.2) |
| XYZ | xyz(28.0362, 17.8604, 50.6758) |
| Luminance | 0.1786 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.72
Mediumorchid
#BA55D3
ΔE00 4.83
Deep Lavender
#8D5EB7
ΔE00 5.62
Purply
#983FB2
ΔE00 5.79
Medium Purple
#9E43A2
ΔE00 6.10
Ugly Purple
#A442A0
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A652BE #6ABE52
analogous
#7052BE #A652BE #BE52A0
triadic
#A652BE #BEA652 #52BEA6
tetradic
#A652BE #BE7052 #6ABE52 #52A0BE
square
#A652BE #BE7052 #6ABE52 #52A0BE
split-complementary
#A652BE #A0BE52 #52BE70
monochromatic
#5E296D #843A99 #A652BE #BD7ECF #D4ABDF
Accessibility & contrast
On white
4.59
#A652BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#A652BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A652BE
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A652BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A652BE | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#A66380
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a652be; /* rgb */ color: rgb(166, 82, 190); /* oklch */ color: oklch(58.5% 0.177 318.2);
Tailwind
colors: {
custom: {
50: '#c387d2',
500: '#a652be',
950: '#000000',
},
}SCSS
$custom: #a652be; $custom-light: #c387d2; $custom-dark: #000000;
JSON
{
"hex": "#a652be",
"rgb": {
"r": 166,
"g": 82,
"b": 190
},
"hsl": {
"h": 286.667,
"s": 45.378,
"l": 53.333
},
"oklch": {
"l": 0.58485,
"c": 0.17718,
"h": 318.2
},
"luminance": 0.17859
}Semantic roles & 50–950 ramp
primary
#A652BE
secondary
#A9CD9F
accent
#D55370
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82