#A151D4#A151D4
#A151D4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 59.1% C 0.199 H 309.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A151D4 |
|---|---|
| RGB | rgb(161, 81, 212) |
| HSL | hsl(277, 60%, 57%) |
| HSV | hsv(277, 62%, 83%) |
| CMYK | cmyk(24.1%, 61.8%, 0%, 16.9%) |
| CIE-LAB | lab(49.76, 55.18, -54.37) |
| CIE-LCH | lch(49.76, 77.46, 315.43°) |
| OKLab | oklab(59.07% 0.1276 -0.1533) |
| OKLCH | oklch(59.07% 0.199 309.8) |
| XYZ | xyz(29.5217, 18.2160, 64.2354) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.76
Amethyst
#9B5FC0
ΔE00 4.61
Mediumorchid
#BA55D3
ΔE00 5.39
Lighter Purple
#A55AF4
ΔE00 5.43
Purpley
#8756E4
ΔE00 5.86
Deep Lavender
#8D5EB7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151D4 #84D451
analogous
#5F51D4 #A151D4 #D451C6
triadic
#A151D4 #D4A151 #51D4A1
tetradic
#A151D4 #D45F51 #84D451 #51C6D4
square
#A151D4 #D45F51 #84D451 #51C6D4
split-complementary
#A151D4 #C6D451 #51D45F
monochromatic
#612289 #832EBA #A151D4 #BC82E0 #D6B3EC
Accessibility & contrast
On white
4.52
#A151D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#A151D4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A151D4
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A151D4 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1273D8
Deuteranopia (green-blind)
#4078D1
Tritanopia (blue-blind)
#9A6B8B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a151d4; /* rgb */ color: rgb(161, 81, 212); /* oklch */ color: oklch(59.1% 0.199 309.8);
Tailwind
colors: {
custom: {
50: '#c086e2',
500: '#a151d4',
950: '#000000',
},
}SCSS
$custom: #a151d4; $custom-light: #c086e2; $custom-dark: #000000;
JSON
{
"hex": "#a151d4",
"rgb": {
"r": 161,
"g": 81,
"b": 212
},
"hsl": {
"h": 276.641,
"s": 60.369,
"l": 57.451
},
"oklch": {
"l": 0.59066,
"c": 0.19941,
"h": 309.8
},
"luminance": 0.18215
}Semantic roles & 50–950 ramp
primary
#A151D4
secondary
#BBDBA6
accent
#E44482
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83