#A159CB#A159CB
#A159CB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.178 H 311.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A159CB |
|---|---|
| RGB | rgb(161, 89, 203) |
| HSL | hsl(278, 52%, 57%) |
| HSV | hsv(278, 56%, 80%) |
| CMYK | cmyk(20.7%, 56.2%, 0%, 20.4%) |
| CIE-LAB | lab(50.73, 49.18, -47.67) |
| CIE-LCH | lch(50.73, 68.49, 315.89°) |
| OKLab | oklab(59.61% 0.1175 -0.1337) |
| OKLCH | oklch(59.61% 0.178 311.3) |
| XYZ | xyz(29.0479, 19.0342, 58.6321) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.45
Lightish Purple
#A552E6
ΔE00 4.24
Mediumorchid
#BA55D3
ΔE00 4.64
Deep Lavender
#8D5EB7
ΔE00 4.81
Lighter Purple
#A55AF4
ΔE00 6.23
Deep Lilac
#966EBD
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A159CB #83CB59
analogous
#6859CB #A159CB #CB59BC
triadic
#A159CB #CBA159 #59CBA1
tetradic
#A159CB #CB6859 #83CB59 #59BCCB
square
#A159CB #CB6859 #83CB59 #59BCCB
split-complementary
#A159CB #BCCB59 #59CB68
monochromatic
#602881 #8337B0 #A159CB #BB88DA #D6B6E8
Accessibility & contrast
On white
4.37
#A159CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#A159CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A159CB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A159CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A159CB | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#9C6D8A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a159cb; /* rgb */ color: rgb(161, 89, 203); /* oklch */ color: oklch(59.6% 0.178 311.3);
Tailwind
colors: {
custom: {
50: '#c08bdb',
500: '#a159cb',
950: '#000000',
},
}SCSS
$custom: #a159cb; $custom-light: #c08bdb; $custom-dark: #000000;
JSON
{
"hex": "#a159cb",
"rgb": {
"r": 161,
"g": 89,
"b": 203
},
"hsl": {
"h": 277.895,
"s": 52.294,
"l": 57.255
},
"oklch": {
"l": 0.59605,
"c": 0.178,
"h": 311.3
},
"luminance": 0.19034
}Semantic roles & 50–950 ramp
primary
#A159CB
secondary
#BAD7A9
accent
#DC4C81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83