#A160CB#A160CB
#A160CB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.167 H 310.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A160CB |
|---|---|
| RGB | rgb(161, 96, 203) |
| HSL | hsl(276, 51%, 59%) |
| HSV | hsv(276, 53%, 80%) |
| CMYK | cmyk(20.7%, 52.7%, 0%, 20.4%) |
| CIE-LAB | lab(52.12, 45.49, -45.44) |
| CIE-LCH | lch(52.12, 64.30, 315.03°) |
| OKLab | oklab(60.63% 0.1083 -0.1272) |
| OKLCH | oklch(60.63% 0.167 310.4) |
| XYZ | xyz(29.6583, 20.2552, 58.8356) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.05
Mediumorchid
#BA55D3
ΔE00 4.81
Deep Lavender
#8D5EB7
ΔE00 4.84
Lightish Purple
#A552E6
ΔE00 5.04
Deep Lilac
#966EBD
ΔE00 5.16
Lighter Purple
#A55AF4
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A160CB #8ACB60
analogous
#6B60CB #A160CB #CB60BF
triadic
#A160CB #CBA160 #60CBA1
tetradic
#A160CB #CB6B60 #8ACB60 #60BFCB
square
#A160CB #CB6B60 #8ACB60 #60BFCB
split-complementary
#A160CB #BFCB60 #60CB6B
monochromatic
#622C85 #843BB3 #A160CB #BC8EDA #D8BCE9
Accessibility & contrast
On white
4.16
#A160CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#A160CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A160CB
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A160CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A160CB | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#9C728C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a160cb; /* rgb */ color: rgb(161, 96, 203); /* oklch */ color: oklch(60.6% 0.167 310.4);
Tailwind
colors: {
custom: {
50: '#bf8fdb',
500: '#a160cb',
950: '#000000',
},
}SCSS
$custom: #a160cb; $custom-light: #bf8fdb; $custom-dark: #000000;
JSON
{
"hex": "#a160cb",
"rgb": {
"r": 161,
"g": 96,
"b": 203
},
"hsl": {
"h": 276.449,
"s": 50.711,
"l": 58.627
},
"oklch": {
"l": 0.60633,
"c": 0.16706,
"h": 310.4
},
"luminance": 0.20255
}Semantic roles & 50–950 ramp
primary
#A160CB
secondary
#BFD9AE
accent
#DA4E85
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120D15
muted
#817D83