#A15EC7#A15EC7
#A15EC7 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.166 H 311.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A15EC7 |
|---|---|
| RGB | rgb(161, 94, 199) |
| HSL | hsl(278, 48%, 57%) |
| HSV | hsv(278, 53%, 78%) |
| CMYK | cmyk(19.1%, 52.8%, 0%, 22%) |
| CIE-LAB | lab(51.50, 45.67, -44.14) |
| CIE-LCH | lch(51.50, 63.51, 315.98°) |
| OKLab | oklab(60.11% 0.1106 -0.1234) |
| OKLCH | oklch(60.11% 0.166 311.9) |
| XYZ | xyz(29.0076, 19.7066, 56.2974) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.51
Deep Lavender
#8D5EB7
ΔE00 4.47
Mediumorchid
#BA55D3
ΔE00 4.73
Deep Lilac
#966EBD
ΔE00 5.36
Lightish Purple
#A552E6
ΔE00 5.37
Lighter Purple
#A55AF4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A15EC7 #84C75E
analogous
#6D5EC7 #A15EC7 #C75EB8
triadic
#A15EC7 #C7A15E #5EC7A1
tetradic
#A15EC7 #C76D5E #84C75E #5EB8C7
square
#A15EC7 #C76D5E #84C75E #5EB8C7
split-complementary
#A15EC7 #B8C75E #5EC76D
monochromatic
#612C7F #833CAC #A15EC7 #BC8BD7 #D6B9E7
Accessibility & contrast
On white
4.25
#A15EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#A15EC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A15EC7
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A15EC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A15EC7 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#9D708A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a15ec7; /* rgb */ color: rgb(161, 94, 199); /* oklch */ color: oklch(60.1% 0.166 311.9);
Tailwind
colors: {
custom: {
50: '#bf8ed8',
500: '#a15ec7',
950: '#000000',
},
}SCSS
$custom: #a15ec7; $custom-light: #bf8ed8; $custom-dark: #000000;
JSON
{
"hex": "#a15ec7",
"rgb": {
"r": 161,
"g": 94,
"b": 199
},
"hsl": {
"h": 278.286,
"s": 48.387,
"l": 57.451
},
"oklch": {
"l": 0.60105,
"c": 0.16574,
"h": 311.9
},
"luminance": 0.19706
}Semantic roles & 50–950 ramp
primary
#A15EC7
secondary
#BBD6AB
accent
#D85081
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83