#A152CD#A152CD
#A152CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.8% C 0.191 H 311.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A152CD |
|---|---|
| RGB | rgb(161, 82, 205) |
| HSL | hsl(279, 55%, 56%) |
| HSV | hsv(279, 60%, 80%) |
| CMYK | cmyk(21.5%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(49.52, 53.15, -50.74) |
| CIE-LCH | lch(49.52, 73.48, 316.33°) |
| OKLab | oklab(58.76% 0.1265 -0.1426) |
| OKLCH | oklch(58.76% 0.191 311.6) |
| XYZ | xyz(28.7327, 18.0201, 59.7104) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.81
Amethyst
#9B5FC0
ΔE00 3.81
Mediumorchid
#BA55D3
ΔE00 5.13
Deep Lavender
#8D5EB7
ΔE00 5.48
Lighter Purple
#A55AF4
ΔE00 6.37
Purply
#983FB2
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152CD #7ECD52
analogous
#6452CD #A152CD #CD52BB
triadic
#A152CD #CDA152 #52CDA1
tetradic
#A152CD #CD6452 #7ECD52 #52BBCD
square
#A152CD #CD6452 #7ECD52 #52BBCD
split-complementary
#A152CD #BBCD52 #52CD64
monochromatic
#5F2580 #8333AF #A152CD #BB81DB #D5B1E8
Accessibility & contrast
On white
4.56
#A152CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#A152CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152CD
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152CD | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 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)
#2472D1
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#9C6988
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a152cd; /* rgb */ color: rgb(161, 82, 205); /* oklch */ color: oklch(58.8% 0.191 311.6);
Tailwind
colors: {
custom: {
50: '#c087dd',
500: '#a152cd',
950: '#000000',
},
}SCSS
$custom: #a152cd; $custom-light: #c087dd; $custom-dark: #000000;
JSON
{
"hex": "#a152cd",
"rgb": {
"r": 161,
"g": 82,
"b": 205
},
"hsl": {
"h": 278.537,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.5876,
"c": 0.19062,
"h": 311.6
},
"luminance": 0.18019
}Semantic roles & 50–950 ramp
primary
#A152CD
secondary
#B6D7A4
accent
#DE497F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83