#A151D9#A151D9
#A151D9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.205 H 308.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A151D9 |
|---|---|
| RGB | rgb(161, 81, 217) |
| HSL | hsl(275, 64%, 58%) |
| HSV | hsv(275, 63%, 85%) |
| CMYK | cmyk(25.8%, 62.7%, 0%, 14.9%) |
| CIE-LAB | lab(50.06, 56.29, -56.72) |
| CIE-LCH | lch(50.06, 79.91, 314.78°) |
| OKLab | oklab(59.39% 0.1274 -0.1602) |
| OKLCH | oklch(59.39% 0.205 308.5) |
| XYZ | xyz(30.1622, 18.4722, 67.6087) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.03
Lighter Purple
#A55AF4
ΔE00 4.74
Amethyst
#9B5FC0
ΔE00 5.13
Purpley
#8756E4
ΔE00 5.39
Mediumorchid
#BA55D3
ΔE00 5.60
Deep Lavender
#8D5EB7
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151D9 #89D951
analogous
#5D51D9 #A151D9 #D951CD
triadic
#A151D9 #D9A151 #51D9A1
tetradic
#A151D9 #D95D51 #89D951 #51CDD9
square
#A151D9 #D95D51 #89D951 #51CDD9
split-complementary
#A151D9 #CDD951 #51D95D
monochromatic
#621F90 #842AC2 #A151D9 #BC83E4 #D7B5EF
Accessibility & contrast
On white
4.47
#A151D9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#A151D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A151D9
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A151D9 | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#996C8E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a151d9; /* rgb */ color: rgb(161, 81, 217); /* oklch */ color: oklch(59.4% 0.205 308.5);
Tailwind
colors: {
custom: {
50: '#c186e5',
500: '#a151d9',
950: '#000000',
},
}SCSS
$custom: #a151d9; $custom-light: #c186e5; $custom-dark: #000000;
JSON
{
"hex": "#a151d9",
"rgb": {
"r": 161,
"g": 81,
"b": 217
},
"hsl": {
"h": 275.294,
"s": 64.151,
"l": 58.431
},
"oklch": {
"l": 0.59386,
"c": 0.20465,
"h": 308.5
},
"luminance": 0.18472
}Semantic roles & 50–950 ramp
primary
#A151D9
secondary
#BEDEA8
accent
#E74185
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84