#A151D6#A151D6
#A151D6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.202 H 309.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A151D6 |
|---|---|
| RGB | rgb(161, 81, 214) |
| HSL | hsl(276, 62%, 58%) |
| HSV | hsv(276, 62%, 84%) |
| CMYK | cmyk(24.8%, 62.1%, 0%, 16.1%) |
| CIE-LAB | lab(49.88, 55.62, -55.31) |
| CIE-LCH | lch(49.88, 78.44, 315.16°) |
| OKLab | oklab(59.19% 0.1275 -0.156) |
| OKLCH | oklch(59.19% 0.202 309.3) |
| XYZ | xyz(29.7756, 18.3175, 65.5724) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.46
Amethyst
#9B5FC0
ΔE00 4.81
Lighter Purple
#A55AF4
ΔE00 5.15
Mediumorchid
#BA55D3
ΔE00 5.46
Purpley
#8756E4
ΔE00 5.66
Deep Lavender
#8D5EB7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151D6 #86D651
analogous
#5E51D6 #A151D6 #D651C8
triadic
#A151D6 #D6A151 #51D6A1
tetradic
#A151D6 #D65E51 #86D651 #51C8D6
square
#A151D6 #D65E51 #86D651 #51C8D6
split-complementary
#A151D6 #C8D651 #51D65E
monochromatic
#61218C #842DBD #A151D6 #BC83E2 #D7B4ED
Accessibility & contrast
On white
4.50
#A151D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#A151D6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A151D6
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151D6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A151D6 | 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)
#0A73DA
Deuteranopia (green-blind)
#3E78D3
Tritanopia (blue-blind)
#9A6B8C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a151d6; /* rgb */ color: rgb(161, 81, 214); /* oklch */ color: oklch(59.2% 0.202 309.3);
Tailwind
colors: {
custom: {
50: '#c086e3',
500: '#a151d6',
950: '#000000',
},
}SCSS
$custom: #a151d6; $custom-light: #c086e3; $custom-dark: #000000;
JSON
{
"hex": "#a151d6",
"rgb": {
"r": 161,
"g": 81,
"b": 214
},
"hsl": {
"h": 276.09,
"s": 61.86,
"l": 57.843
},
"oklch": {
"l": 0.59193,
"c": 0.2015,
"h": 309.3
},
"luminance": 0.18317
}Semantic roles & 50–950 ramp
primary
#A151D6
secondary
#BCDCA7
accent
#E54383
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84