#A152E5#A152E5
#A152E5 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.216 H 305.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A152E5 |
|---|---|
| RGB | rgb(161, 82, 229) |
| HSL | hsl(272, 74%, 61%) |
| HSV | hsv(272, 64%, 90%) |
| CMYK | cmyk(29.7%, 64.2%, 0%, 10.2%) |
| CIE-LAB | lab(51.00, 58.51, -62.01) |
| CIE-LCH | lch(51.00, 85.26, 313.34°) |
| OKLab | oklab(60.31% 0.1255 -0.1757) |
| OKLCH | oklch(60.31% 0.216 305.5) |
| XYZ | xyz(31.8550, 19.2690, 76.1547) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.74
Lighter Purple
#A55AF4
ΔE00 3.11
Purpley
#8756E4
ΔE00 4.70
Electric Purple
#AA23FF
ΔE00 6.24
Mediumorchid
#BA55D3
ΔE00 6.33
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152E5 #96E552
analogous
#5752E5 #A152E5 #E552DF
triadic
#A152E5 #E5A152 #52E5A1
tetradic
#A152E5 #E55752 #96E552 #52DFE5
square
#A152E5 #E55752 #96E552 #52DFE5
split-complementary
#A152E5 #DFE552 #52E557
monochromatic
#6419A4 #8421D9 #A152E5 #BE87ED #DBBCF5
Accessibility & contrast
On white
4.33
#A152E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#A152E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152E5
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152E5 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#957194
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a152e5; /* rgb */ color: rgb(161, 82, 229); /* oklch */ color: oklch(60.3% 0.216 305.5);
Tailwind
colors: {
custom: {
50: '#c187ee',
500: '#a152e5',
950: '#000000',
},
}SCSS
$custom: #a152e5; $custom-light: #c187ee; $custom-dark: #000000;
JSON
{
"hex": "#a152e5",
"rgb": {
"r": 161,
"g": 82,
"b": 229
},
"hsl": {
"h": 272.245,
"s": 73.869,
"l": 60.98
},
"oklch": {
"l": 0.60305,
"c": 0.21594,
"h": 305.5
},
"luminance": 0.19269
}Semantic roles & 50–950 ramp
primary
#A152E5
secondary
#C7E5AE
accent
#D6106B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84