#A152E8#A152E8
#A152E8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.219 H 304.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A152E8 |
|---|---|
| RGB | rgb(161, 82, 232) |
| HSL | hsl(272, 77%, 62%) |
| HSV | hsv(272, 65%, 91%) |
| CMYK | cmyk(30.6%, 64.7%, 0%, 9%) |
| CIE-LAB | lab(51.20, 59.20, -63.39) |
| CIE-LCH | lch(51.20, 86.74, 313.04°) |
| OKLab | oklab(60.51% 0.1253 -0.1797) |
| OKLCH | oklch(60.51% 0.219 304.9) |
| XYZ | xyz(32.2775, 19.4380, 78.3798) |
| Luminance | 0.1944 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.85
Lighter Purple
#A55AF4
ΔE00 2.80
Purpley
#8756E4
ΔE00 4.64
Electric Purple
#AA23FF
ΔE00 6.13
Mediumorchid
#BA55D3
ΔE00 6.57
Neon Purple
#BC13FE
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152E8 #99E852
analogous
#5652E8 #A152E8 #E852E4
triadic
#A152E8 #E8A152 #52E8A1
tetradic
#A152E8 #E85652 #99E852 #52E4E8
square
#A152E8 #E85652 #99E852 #52E4E8
split-complementary
#A152E8 #E4E852 #52E856
monochromatic
#6416A9 #841EDF #A152E8 #BE88EF #DCBEF6
Accessibility & contrast
On white
4.30
#A152E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#A152E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152E8
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152E8 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#947296
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a152e8; /* rgb */ color: rgb(161, 82, 232); /* oklch */ color: oklch(60.5% 0.219 304.9);
Tailwind
colors: {
custom: {
50: '#c287f0',
500: '#a152e8',
950: '#000000',
},
}SCSS
$custom: #a152e8; $custom-light: #c287f0; $custom-dark: #000000;
JSON
{
"hex": "#a152e8",
"rgb": {
"r": 161,
"g": 82,
"b": 232
},
"hsl": {
"h": 271.6,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.60508,
"c": 0.21911,
"h": 304.9
},
"luminance": 0.19438
}Semantic roles & 50–950 ramp
primary
#A152E8
secondary
#C9E7AF
accent
#D90D6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85