#A152D8#A152D8
#A152D8 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.202 H 308.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A152D8 |
|---|---|
| RGB | rgb(161, 82, 216) |
| HSL | hsl(275, 63%, 58%) |
| HSV | hsv(275, 62%, 85%) |
| CMYK | cmyk(25.5%, 62%, 0%, 15.3%) |
| CIE-LAB | lab(50.18, 55.58, -55.97) |
| CIE-LCH | lch(50.18, 78.87, 314.80°) |
| OKLab | oklab(59.45% 0.1263 -0.158) |
| OKLCH | oklch(59.45% 0.202 308.6) |
| XYZ | xyz(30.1074, 18.5700, 66.9507) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.11
Lighter Purple
#A55AF4
ΔE00 4.75
Amethyst
#9B5FC0
ΔE00 4.90
Mediumorchid
#BA55D3
ΔE00 5.46
Purpley
#8756E4
ΔE00 5.47
Deep Lavender
#8D5EB7
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152D8 #89D852
analogous
#5E52D8 #A152D8 #D852CC
triadic
#A152D8 #D8A152 #52D8A1
tetradic
#A152D8 #D85E52 #89D852 #52CCD8
square
#A152D8 #D85E52 #89D852 #52CCD8
split-complementary
#A152D8 #CCD852 #52D85E
monochromatic
#62208F #842CC1 #A152D8 #BC84E3 #D7B6EF
Accessibility & contrast
On white
4.45
#A152D8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#A152D8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152D8
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152D8 | 1.00 | 4.45 | 4.71 | 4.71 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0874DC
Deuteranopia (green-blind)
#3D78D5
Tritanopia (blue-blind)
#996D8E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a152d8; /* rgb */ color: rgb(161, 82, 216); /* oklch */ color: oklch(59.5% 0.202 308.6);
Tailwind
colors: {
custom: {
50: '#c187e5',
500: '#a152d8',
950: '#000000',
},
}SCSS
$custom: #a152d8; $custom-light: #c187e5; $custom-dark: #000000;
JSON
{
"hex": "#a152d8",
"rgb": {
"r": 161,
"g": 82,
"b": 216
},
"hsl": {
"h": 275.373,
"s": 63.208,
"l": 58.431
},
"oklch": {
"l": 0.59451,
"c": 0.20222,
"h": 308.6
},
"luminance": 0.1857
}Semantic roles & 50–950 ramp
primary
#A152D8
secondary
#BEDDA8
accent
#E64285
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84