#A152F8#A152F8
#A152F8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.236 H 301.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A152F8 |
|---|---|
| RGB | rgb(161, 82, 248) |
| HSL | hsl(269, 92%, 65%) |
| HSV | hsv(269, 67%, 97%) |
| CMYK | cmyk(35.1%, 66.9%, 0%, 2.7%) |
| CIE-LAB | lab(52.27, 62.91, -70.61) |
| CIE-LCH | lch(52.27, 94.57, 311.70°) |
| OKLab | oklab(61.62% 0.1236 -0.201) |
| OKLCH | oklch(61.62% 0.236 301.6) |
| XYZ | xyz(34.6545, 20.3888, 90.8984) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.98
Lightish Purple
#A552E6
ΔE00 2.71
Purpley
#8756E4
ΔE00 5.01
Electric Purple
#AA23FF
ΔE00 6.07
Neon Purple
#BC13FE
ΔE00 6.63
Bright Purple
#BE03FD
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152F8 #A9F852
analogous
#5256F8 #A152F8 #F452F8
triadic
#A152F8 #F8A152 #52F8A1
tetradic
#A152F8 #F85256 #A9F852 #52F8F4
square
#A152F8 #F85256 #A9F852 #52F8F4
split-complementary
#A152F8 #F8F452 #56F852
monochromatic
#6308C8 #8117F6 #A152F8 #C18DFA #E1C8FD
Accessibility & contrast
On white
4.14
#A152F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#A152F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152F8
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152F8 | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#8F789F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a152f8; /* rgb */ color: rgb(161, 82, 248); /* oklch */ color: oklch(61.6% 0.236 301.6);
Tailwind
colors: {
custom: {
50: '#c388fc',
500: '#a152f8',
950: '#000000',
},
}SCSS
$custom: #a152f8; $custom-light: #c388fc; $custom-dark: #000000;
JSON
{
"hex": "#a152f8",
"rgb": {
"r": 161,
"g": 82,
"b": 248
},
"hsl": {
"h": 268.554,
"s": 92.222,
"l": 64.706
},
"oklch": {
"l": 0.61623,
"c": 0.23593,
"h": 301.6
},
"luminance": 0.20389
}Semantic roles & 50–950 ramp
primary
#A152F8
secondary
#D4EFB6
accent
#E60078
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86