#A152F6#A152F6
#A152F6 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.5% C 0.234 H 302.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A152F6 |
|---|---|
| RGB | rgb(161, 82, 246) |
| HSL | hsl(269, 90%, 64%) |
| HSV | hsv(269, 67%, 96%) |
| CMYK | cmyk(34.6%, 66.7%, 0%, 3.5%) |
| CIE-LAB | lab(52.14, 62.45, -69.71) |
| CIE-LCH | lch(52.14, 93.59, 311.85°) |
| OKLab | oklab(61.48% 0.1238 -0.1983) |
| OKLCH | oklch(61.48% 0.234 302) |
| XYZ | xyz(34.3458, 20.2654, 89.2731) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.97
Lightish Purple
#A552E6
ΔE00 2.46
Purpley
#8756E4
ΔE00 4.90
Electric Purple
#AA23FF
ΔE00 6.03
Neon Purple
#BC13FE
ΔE00 6.58
Bright Purple
#BE03FD
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152F6 #A7F652
analogous
#5255F6 #A152F6 #F352F6
triadic
#A152F6 #F6A152 #52F6A1
tetradic
#A152F6 #F65255 #A7F652 #52F6F3
square
#A152F6 #F65255 #A7F652 #52F6F3
split-complementary
#A152F6 #F6F352 #55F652
monochromatic
#630AC3 #8118F3 #A152F6 #C18CF9 #E0C6FC
Accessibility & contrast
On white
4.16
#A152F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#A152F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152F6
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152F6 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#8F789E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a152f6; /* rgb */ color: rgb(161, 82, 246); /* oklch */ color: oklch(61.5% 0.234 302.0);
Tailwind
colors: {
custom: {
50: '#c388fa',
500: '#a152f6',
950: '#000000',
},
}SCSS
$custom: #a152f6; $custom-light: #c388fa; $custom-dark: #000000;
JSON
{
"hex": "#a152f6",
"rgb": {
"r": 161,
"g": 82,
"b": 246
},
"hsl": {
"h": 268.902,
"s": 90.11,
"l": 64.314
},
"oklch": {
"l": 0.61481,
"c": 0.23383,
"h": 302
},
"luminance": 0.20265
}Semantic roles & 50–950 ramp
primary
#A152F6
secondary
#D3EEB5
accent
#E60077
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85