#A158CE#A158CE
#A158CE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.183 H 310.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A158CE |
|---|---|
| RGB | rgb(161, 88, 206) |
| HSL | hsl(277, 55%, 58%) |
| HSV | hsv(277, 57%, 81%) |
| CMYK | cmyk(21.8%, 57.3%, 0%, 19.2%) |
| CIE-LAB | lab(50.70, 50.35, -49.42) |
| CIE-LCH | lch(50.70, 70.56, 315.53°) |
| OKLab | oklab(59.64% 0.1189 -0.1388) |
| OKLCH | oklch(59.64% 0.183 310.6) |
| XYZ | xyz(29.3262, 19.0133, 60.5056) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.94
Lightish Purple
#A552E6
ΔE00 3.70
Mediumorchid
#BA55D3
ΔE00 4.71
Deep Lavender
#8D5EB7
ΔE00 5.12
Lighter Purple
#A55AF4
ΔE00 5.77
Purpley
#8756E4
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A158CE #85CE58
analogous
#6658CE #A158CE #CE58C0
triadic
#A158CE #CEA158 #58CEA1
tetradic
#A158CE #CE6658 #85CE58 #58C0CE
square
#A158CE #CE6658 #85CE58 #58C0CE
split-complementary
#A158CE #C0CE58 #58CE66
monochromatic
#612785 #8335B4 #A158CE #BC87DC #D6B7EA
Accessibility & contrast
On white
4.37
#A158CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#A158CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A158CE
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A158CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A158CE | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#9B6D8B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a158ce; /* rgb */ color: rgb(161, 88, 206); /* oklch */ color: oklch(59.6% 0.183 310.6);
Tailwind
colors: {
custom: {
50: '#c08add',
500: '#a158ce',
950: '#000000',
},
}SCSS
$custom: #a158ce; $custom-light: #c08add; $custom-dark: #000000;
JSON
{
"hex": "#a158ce",
"rgb": {
"r": 161,
"g": 88,
"b": 206
},
"hsl": {
"h": 277.119,
"s": 54.63,
"l": 57.647
},
"oklch": {
"l": 0.59641,
"c": 0.18279,
"h": 310.6
},
"luminance": 0.19013
}Semantic roles & 50–950 ramp
primary
#A158CE
secondary
#BBD9A9
accent
#DE4A82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83