#A151CD#A151CD
#A151CD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.192 H 311.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A151CD |
|---|---|
| RGB | rgb(161, 81, 205) |
| HSL | hsl(279, 55%, 56%) |
| HSV | hsv(279, 60%, 80%) |
| CMYK | cmyk(21.5%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(49.34, 53.65, -51.03) |
| CIE-LCH | lch(49.34, 74.04, 316.43°) |
| OKLab | oklab(58.63% 0.1277 -0.1435) |
| OKLCH | oklch(58.63% 0.192 311.7) |
| XYZ | xyz(28.6578, 17.8704, 59.6854) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.85
Amethyst
#9B5FC0
ΔE00 3.99
Mediumorchid
#BA55D3
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 5.58
Purply
#983FB2
ΔE00 6.31
Lighter Purple
#A55AF4
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151CD #7DCD51
analogous
#6351CD #A151CD #CD51BB
triadic
#A151CD #CDA151 #51CDA1
tetradic
#A151CD #CD6351 #7DCD51 #51BBCD
square
#A151CD #CD6351 #7DCD51 #51BBCD
split-complementary
#A151CD #BBCD51 #51CD63
monochromatic
#5F257F #8232AF #A151CD #BB81DB #D4B0E8
Accessibility & contrast
On white
4.59
#A151CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#A151CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A151CD
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A151CD | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#9C6887
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a151cd; /* rgb */ color: rgb(161, 81, 205); /* oklch */ color: oklch(58.6% 0.192 311.7);
Tailwind
colors: {
custom: {
50: '#c086dd',
500: '#a151cd',
950: '#000000',
},
}SCSS
$custom: #a151cd; $custom-light: #c086dd; $custom-dark: #000000;
JSON
{
"hex": "#a151cd",
"rgb": {
"r": 161,
"g": 81,
"b": 205
},
"hsl": {
"h": 278.71,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.58628,
"c": 0.19206,
"h": 311.7
},
"luminance": 0.1787
}Semantic roles & 50–950 ramp
primary
#A151CD
secondary
#B5D7A3
accent
#DF497E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83