#A152DC#A152DC
#A152DC is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.206 H 307.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A152DC |
|---|---|
| RGB | rgb(161, 82, 220) |
| HSL | hsl(274, 66%, 59%) |
| HSV | hsv(274, 63%, 86%) |
| CMYK | cmyk(26.8%, 62.7%, 0%, 13.7%) |
| CIE-LAB | lab(50.43, 56.47, -57.84) |
| CIE-LCH | lch(50.43, 80.84, 314.31°) |
| OKLab | oklab(59.71% 0.1261 -0.1635) |
| OKLCH | oklch(59.71% 0.206 307.6) |
| XYZ | xyz(30.6308, 18.7794, 69.7074) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.55
Lighter Purple
#A55AF4
ΔE00 4.21
Purpley
#8756E4
ΔE00 5.16
Amethyst
#9B5FC0
ΔE00 5.35
Mediumorchid
#BA55D3
ΔE00 5.69
Electric Purple
#AA23FF
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152DC #8DDC52
analogous
#5C52DC #A152DC #DC52D2
triadic
#A152DC #DCA152 #52DCA1
tetradic
#A152DC #DC5C52 #8DDC52 #52D2DC
square
#A152DC #DC5C52 #8DDC52 #52D2DC
split-complementary
#A152DC #D2DC52 #52DC5C
monochromatic
#621E95 #8429C8 #A152DC #BD85E6 #D8B8F1
Accessibility & contrast
On white
4.42
#A152DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#A152DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152DC
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152DC | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#986E90
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a152dc; /* rgb */ color: rgb(161, 82, 220); /* oklch */ color: oklch(59.7% 0.206 307.6);
Tailwind
colors: {
custom: {
50: '#c187e8',
500: '#a152dc',
950: '#000000',
},
}SCSS
$custom: #a152dc; $custom-light: #c187e8; $custom-dark: #000000;
JSON
{
"hex": "#a152dc",
"rgb": {
"r": 161,
"g": 82,
"b": 220
},
"hsl": {
"h": 274.348,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.5971,
"c": 0.20644,
"h": 307.6
},
"luminance": 0.18779
}Semantic roles & 50–950 ramp
primary
#A152DC
secondary
#C1E0AA
accent
#E93F88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84