#A151D5#A151D5
#A151D5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.200 H 309.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A151D5 |
|---|---|
| RGB | rgb(161, 81, 213) |
| HSL | hsl(276, 61%, 58%) |
| HSV | hsv(276, 62%, 84%) |
| CMYK | cmyk(24.4%, 62%, 0%, 16.5%) |
| CIE-LAB | lab(49.82, 55.40, -54.84) |
| CIE-LCH | lch(49.82, 77.95, 315.29°) |
| OKLab | oklab(59.13% 0.1275 -0.1546) |
| OKLCH | oklch(59.13% 0.2 309.5) |
| XYZ | xyz(29.6483, 18.2666, 64.9018) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.61
Amethyst
#9B5FC0
ΔE00 4.71
Lighter Purple
#A55AF4
ΔE00 5.29
Mediumorchid
#BA55D3
ΔE00 5.42
Purpley
#8756E4
ΔE00 5.76
Deep Lavender
#8D5EB7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151D5 #85D551
analogous
#5F51D5 #A151D5 #D551C7
triadic
#A151D5 #D5A151 #51D5A1
tetradic
#A151D5 #D55F51 #85D551 #51C7D5
square
#A151D5 #D55F51 #85D551 #51C7D5
split-complementary
#A151D5 #C7D551 #51D55F
monochromatic
#61218A #832DBC #A151D5 #BC82E1 #D6B4ED
Accessibility & contrast
On white
4.51
#A151D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#A151D5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A151D5
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151D5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A151D5 | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E73D9
Deuteranopia (green-blind)
#3F78D2
Tritanopia (blue-blind)
#9A6B8C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a151d5; /* rgb */ color: rgb(161, 81, 213); /* oklch */ color: oklch(59.1% 0.200 309.5);
Tailwind
colors: {
custom: {
50: '#c086e3',
500: '#a151d5',
950: '#000000',
},
}SCSS
$custom: #a151d5; $custom-light: #c086e3; $custom-dark: #000000;
JSON
{
"hex": "#a151d5",
"rgb": {
"r": 161,
"g": 81,
"b": 213
},
"hsl": {
"h": 276.364,
"s": 61.111,
"l": 57.647
},
"oklch": {
"l": 0.59129,
"c": 0.20046,
"h": 309.5
},
"luminance": 0.18266
}Semantic roles & 50–950 ramp
primary
#A151D5
secondary
#BBDBA6
accent
#E44483
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83