#A152C2#A152C2
#A152C2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.179 H 314.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A152C2 |
|---|---|
| RGB | rgb(161, 82, 194) |
| HSL | hsl(282, 48%, 54%) |
| HSV | hsv(282, 58%, 76%) |
| CMYK | cmyk(17%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(48.89, 50.79, -45.40) |
| CIE-LCH | lch(48.89, 68.13, 318.21°) |
| OKLab | oklab(58.1% 0.1262 -0.127) |
| OKLCH | oklch(58.1% 0.179 314.8) |
| XYZ | xyz(27.4513, 17.5075, 52.9617) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.33
Deep Lavender
#8D5EB7
ΔE00 4.91
Mediumorchid
#BA55D3
ΔE00 5.35
Purply
#983FB2
ΔE00 5.46
Lightish Purple
#A552E6
ΔE00 5.64
Medium Purple
#9E43A2
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152C2 #73C252
analogous
#6952C2 #A152C2 #C252AB
triadic
#A152C2 #C2A152 #52C2A1
tetradic
#A152C2 #C26952 #73C252 #52ABC2
square
#A152C2 #C26952 #73C252 #52ABC2
split-complementary
#A152C2 #ABC252 #52C269
monochromatic
#5C2872 #81389F #A152C2 #BA7FD2 #D2ACE2
Accessibility & contrast
On white
4.67
#A152C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#A152C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A152C2
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A152C2 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3370C6
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#9F6582
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a152c2; /* rgb */ color: rgb(161, 82, 194); /* oklch */ color: oklch(58.1% 0.179 314.8);
Tailwind
colors: {
custom: {
50: '#c086d5',
500: '#a152c2',
950: '#000000',
},
}SCSS
$custom: #a152c2; $custom-light: #c086d5; $custom-dark: #000000;
JSON
{
"hex": "#a152c2",
"rgb": {
"r": 161,
"g": 82,
"b": 194
},
"hsl": {
"h": 282.321,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.581,
"c": 0.17909,
"h": 314.8
},
"luminance": 0.17507
}Semantic roles & 50–950 ramp
primary
#A152C2
secondary
#AED0A0
accent
#D75078
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83