#A151E0#A151E0
#A151E0 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.212 H 306.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A151E0 |
|---|---|
| RGB | rgb(161, 81, 224) |
| HSL | hsl(274, 70%, 60%) |
| HSV | hsv(274, 64%, 88%) |
| CMYK | cmyk(28.1%, 63.8%, 0%, 12.2%) |
| CIE-LAB | lab(50.50, 57.86, -59.99) |
| CIE-LCH | lch(50.50, 83.34, 313.96°) |
| OKLab | oklab(59.85% 0.127 -0.1698) |
| OKLCH | oklch(59.85% 0.212 306.8) |
| XYZ | xyz(31.0921, 18.8441, 72.5059) |
| Luminance | 0.1884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.16
Lighter Purple
#A55AF4
ΔE00 3.85
Purpley
#8756E4
ΔE00 4.91
Amethyst
#9B5FC0
ΔE00 5.92
Mediumorchid
#BA55D3
ΔE00 6.02
Electric Purple
#AA23FF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151E0 #90E051
analogous
#5951E0 #A151E0 #E051D8
triadic
#A151E0 #E0A151 #51E0A1
tetradic
#A151E0 #E05951 #90E051 #51D8E0
square
#A151E0 #E05951 #90E051 #51D8E0
split-complementary
#A151E0 #D8E051 #51E059
monochromatic
#631C9B #8425CF #A151E0 #BD85E9 #D9B9F3
Accessibility & contrast
On white
4.40
#A151E0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#A151E0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A151E0
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151E0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A151E0 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#3279DD
Tritanopia (blue-blind)
#976F91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a151e0; /* rgb */ color: rgb(161, 81, 224); /* oklch */ color: oklch(59.8% 0.212 306.8);
Tailwind
colors: {
custom: {
50: '#c186ea',
500: '#a151e0',
950: '#000000',
},
}SCSS
$custom: #a151e0; $custom-light: #c186ea; $custom-dark: #000000;
JSON
{
"hex": "#a151e0",
"rgb": {
"r": 161,
"g": 81,
"b": 224
},
"hsl": {
"h": 273.566,
"s": 69.756,
"l": 59.804
},
"oklch": {
"l": 0.59845,
"c": 0.21201,
"h": 306.8
},
"luminance": 0.18844
}Semantic roles & 50–950 ramp
primary
#A151E0
secondary
#C3E2AB
accent
#ED3B89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84