#A152D3#A152D3
#A152D3 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.1% C 0.197 H 309.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A152D3 |
|---|---|
| RGB | rgb(161, 82, 211) |
| HSL | hsl(277, 59%, 57%) |
| HSV | hsv(277, 61%, 83%) |
| CMYK | cmyk(23.7%, 61.1%, 0%, 17.3%) |
| CIE-LAB | lab(49.88, 54.47, -53.60) |
| CIE-LCH | lch(49.88, 76.42, 315.46°) |
| OKLab | oklab(59.13% 0.1264 -0.151) |
| OKLCH | oklch(59.13% 0.197 309.9) |
| XYZ | xyz(29.4708, 18.3154, 63.5981) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.86
Amethyst
#9B5FC0
ΔE00 4.36
Mediumorchid
#BA55D3
ΔE00 5.25
Lighter Purple
#A55AF4
ΔE00 5.47
Purpley
#8756E4
ΔE00 5.96
Deep Lavender
#8D5EB7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152D3 #84D352
analogous
#6052D3 #A152D3 #D352C5
triadic
#A152D3 #D3A152 #52D3A1
tetradic
#A152D3 #D36052 #84D352 #52C5D3
square
#A152D3 #D36052 #84D352 #52C5D3
split-complementary
#A152D3 #C5D352 #52D360
monochromatic
#612388 #832FB9 #A152D3 #BC83DF #D6B4EC
Accessibility & contrast
On white
4.50
#A152D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#A152D3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A152D3
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A152D3 | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1973D7
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#9A6B8B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a152d3; /* rgb */ color: rgb(161, 82, 211); /* oklch */ color: oklch(59.1% 0.197 309.9);
Tailwind
colors: {
custom: {
50: '#c087e1',
500: '#a152d3',
950: '#000000',
},
}SCSS
$custom: #a152d3; $custom-light: #c087e1; $custom-dark: #000000;
JSON
{
"hex": "#a152d3",
"rgb": {
"r": 161,
"g": 82,
"b": 211
},
"hsl": {
"h": 276.744,
"s": 59.447,
"l": 57.451
},
"oklch": {
"l": 0.59133,
"c": 0.19694,
"h": 309.9
},
"luminance": 0.18315
}Semantic roles & 50–950 ramp
primary
#A152D3
secondary
#BBDAA6
accent
#E34582
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83