#A151E3#A151E3
#A151E3 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.215 H 306.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A151E3 |
|---|---|
| RGB | rgb(161, 81, 227) |
| HSL | hsl(273, 72%, 60%) |
| HSV | hsv(273, 64%, 89%) |
| CMYK | cmyk(29.1%, 64.3%, 0%, 11%) |
| CIE-LAB | lab(50.70, 58.54, -61.37) |
| CIE-LCH | lch(50.70, 84.81, 313.64°) |
| OKLab | oklab(60.05% 0.1268 -0.1738) |
| OKLCH | oklch(60.05% 0.215 306.1) |
| XYZ | xyz(31.5025, 19.0083, 74.6675) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.91
Lighter Purple
#A55AF4
ΔE00 3.50
Purpley
#8756E4
ΔE00 4.77
Electric Purple
#AA23FF
ΔE00 6.15
Mediumorchid
#BA55D3
ΔE00 6.23
Amethyst
#9B5FC0
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151E3 #93E351
analogous
#5851E3 #A151E3 #E351DC
triadic
#A151E3 #E3A151 #51E3A1
tetradic
#A151E3 #E35851 #93E351 #51DCE3
square
#A151E3 #E35851 #93E351 #51DCE3
split-complementary
#A151E3 #DCE351 #51E358
monochromatic
#631AA0 #8422D5 #A151E3 #BD86EB #DABAF4
Accessibility & contrast
On white
4.37
#A151E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#A151E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A151E3
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A151E3 | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#2D79E0
Tritanopia (blue-blind)
#967093
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a151e3; /* rgb */ color: rgb(161, 81, 227); /* oklch */ color: oklch(60.0% 0.215 306.1);
Tailwind
colors: {
custom: {
50: '#c187ed',
500: '#a151e3',
950: '#000000',
},
}SCSS
$custom: #a151e3; $custom-light: #c187ed; $custom-dark: #000000;
JSON
{
"hex": "#a151e3",
"rgb": {
"r": 161,
"g": 81,
"b": 227
},
"hsl": {
"h": 272.877,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.60045,
"c": 0.21516,
"h": 306.1
},
"luminance": 0.19008
}Semantic roles & 50–950 ramp
primary
#A151E3
secondary
#C5E4AC
accent
#D41169
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84