#A157CE#A157CE
#A157CE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.184 H 310.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A157CE |
|---|---|
| RGB | rgb(161, 87, 206) |
| HSL | hsl(277, 55%, 57%) |
| HSV | hsv(277, 58%, 81%) |
| CMYK | cmyk(21.8%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(50.51, 50.86, -49.73) |
| CIE-LCH | lch(50.51, 71.13, 315.65°) |
| OKLab | oklab(59.5% 0.1202 -0.1397) |
| OKLCH | oklch(59.5% 0.184 310.7) |
| XYZ | xyz(29.2446, 18.8503, 60.4784) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.08
Lightish Purple
#A552E6
ΔE00 3.65
Mediumorchid
#BA55D3
ΔE00 4.75
Deep Lavender
#8D5EB7
ΔE00 5.17
Lighter Purple
#A55AF4
ΔE00 5.83
Purpley
#8756E4
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A157CE #84CE57
analogous
#6557CE #A157CE #CE57C0
triadic
#A157CE #CEA157 #57CEA1
tetradic
#A157CE #CE6557 #84CE57 #57C0CE
square
#A157CE #CE6557 #84CE57 #57C0CE
split-complementary
#A157CE #C0CE57 #57CE65
monochromatic
#612784 #8334B3 #A157CE #BC86DC #D6B6EA
Accessibility & contrast
On white
4.40
#A157CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#A157CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A157CE
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A157CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A157CE | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#9B6D8A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a157ce; /* rgb */ color: rgb(161, 87, 206); /* oklch */ color: oklch(59.5% 0.184 310.7);
Tailwind
colors: {
custom: {
50: '#c08add',
500: '#a157ce',
950: '#000000',
},
}SCSS
$custom: #a157ce; $custom-light: #c08add; $custom-dark: #000000;
JSON
{
"hex": "#a157ce",
"rgb": {
"r": 161,
"g": 87,
"b": 206
},
"hsl": {
"h": 277.311,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.59501,
"c": 0.18429,
"h": 310.7
},
"luminance": 0.1885
}Semantic roles & 50–950 ramp
primary
#A157CE
secondary
#BBD8A8
accent
#DE4A82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83