#A152F5#A152F5
#A152F5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.4% C 0.233 H 302.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A152F5 |
|---|---|
| RGB | rgb(161, 82, 245) |
| HSL | hsl(269, 89%, 64%) |
| HSV | hsv(269, 67%, 96%) |
| CMYK | cmyk(34.3%, 66.5%, 0%, 3.9%) |
| CIE-LAB | lab(52.07, 62.21, -69.27) |
| CIE-LCH | lch(52.07, 93.10, 311.93°) |
| OKLab | oklab(61.41% 0.124 -0.197) |
| OKLCH | oklch(61.41% 0.233 302.2) |
| XYZ | xyz(34.1928, 20.2041, 88.4669) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.98
Lightish Purple
#A552E6
ΔE00 2.33
Purpley
#8756E4
ΔE00 4.86
Electric Purple
#AA23FF
ΔE00 6.01
Neon Purple
#BC13FE
ΔE00 6.56
Bright Purple
#BE03FD
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152F5 #A6F552
analogous
#5255F5 #A152F5 #F352F5
triadic
#A152F5 #F5A152 #52F5A1
tetradic
#A152F5 #F55255 #A6F552 #52F5F3
square
#A152F5 #F55255 #A6F552 #52F5F3
split-complementary
#A152F5 #F5F352 #55F552
monochromatic
#640BC1 #8218F2 #A152F5 #C08CF8 #E0C6FC
Accessibility & contrast
On white
4.17
#A152F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#A152F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152F5
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152F5 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#90779D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a152f5; /* rgb */ color: rgb(161, 82, 245); /* oklch */ color: oklch(61.4% 0.233 302.2);
Tailwind
colors: {
custom: {
50: '#c288f9',
500: '#a152f5',
950: '#000000',
},
}SCSS
$custom: #a152f5; $custom-light: #c288f9; $custom-dark: #000000;
JSON
{
"hex": "#a152f5",
"rgb": {
"r": 161,
"g": 82,
"b": 245
},
"hsl": {
"h": 269.08,
"s": 89.071,
"l": 64.118
},
"oklch": {
"l": 0.6141,
"c": 0.23278,
"h": 302.2
},
"luminance": 0.20204
}Semantic roles & 50–950 ramp
primary
#A152F5
secondary
#D2EEB5
accent
#E60076
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85