#A852BF#A852BF
#A852BF is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.179 H 318.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A852BF |
|---|---|
| RGB | rgb(168, 82, 191) |
| HSL | hsl(287, 46%, 54%) |
| HSV | hsv(287, 57%, 75%) |
| CMYK | cmyk(12%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(49.64, 51.98, -42.42) |
| CIE-LCH | lch(49.64, 67.09, 320.78°) |
| OKLab | oklab(58.79% 0.1346 -0.1182) |
| OKLCH | oklch(58.79% 0.179 318.7) |
| XYZ | xyz(28.5685, 18.1222, 51.2732) |
| Luminance | 0.1812 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.86
Mediumorchid
#BA55D3
ΔE00 4.47
Deep Lavender
#8D5EB7
ΔE00 5.93
Purply
#983FB2
ΔE00 6.08
Medium Purple
#9E43A2
ΔE00 6.32
Purpley Pink
#C83CB9
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A852BF #69BF52
analogous
#7152BF #A852BF #BF52A0
triadic
#A852BF #BFA852 #52BFA8
tetradic
#A852BF #BF7152 #69BF52 #52A0BF
square
#A852BF #BF7152 #69BF52 #52A0BF
split-complementary
#A852BF #A0BF52 #52BF71
monochromatic
#5F296E #86399B #A852BF #BE7FD0 #D5ABE0
Accessibility & contrast
On white
4.54
#A852BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#A852BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A852BF
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A852BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A852BF | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A70C2
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#A86381
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a852bf; /* rgb */ color: rgb(168, 82, 191); /* oklch */ color: oklch(58.8% 0.179 318.7);
Tailwind
colors: {
custom: {
50: '#c487d3',
500: '#a852bf',
950: '#000000',
},
}SCSS
$custom: #a852bf; $custom-light: #c487d3; $custom-dark: #000000;
JSON
{
"hex": "#a852bf",
"rgb": {
"r": 168,
"g": 82,
"b": 191
},
"hsl": {
"h": 287.339,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.5879,
"c": 0.17912,
"h": 318.7
},
"luminance": 0.18121
}Semantic roles & 50–950 ramp
primary
#A852BF
secondary
#A9CE9F
accent
#D6526E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83