#A166EB#A166EB
#A166EB is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.4% C 0.195 H 301.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A166EB |
|---|---|
| RGB | rgb(161, 102, 235) |
| HSL | hsl(267, 77%, 66%) |
| HSV | hsv(267, 57%, 92%) |
| CMYK | cmyk(31.5%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(55.15, 49.77, -58.71) |
| CIE-LCH | lch(55.15, 76.97, 310.29°) |
| OKLab | oklab(63.44% 0.1019 -0.1661) |
| OKLCH | oklch(63.44% 0.195 301.5) |
| XYZ | xyz(34.4412, 23.0779, 81.2211) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.83
Mediumpurple
#9370DB
ΔE00 4.19
Light Urple
#B36FF6
ΔE00 4.19
Lightish Purple
#A552E6
ΔE00 4.70
Easter Purple
#C071FE
ΔE00 6.50
Bright Lavender
#C760FF
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166EB #B0EB66
analogous
#666DEB #A166EB #E466EB
triadic
#A166EB #EBA166 #66EBA1
tetradic
#A166EB #EB666D #B0EB66 #66EBE4
square
#A166EB #EB666D #B0EB66 #66EBE4
split-complementary
#A166EB #EBE466 #6DEB66
monochromatic
#6219BE #8030E4 #A166EB #C29CF2 #E4D2F9
Accessibility & contrast
On white
3.74
#A166EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#A166EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166EB
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166EB | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B83EF
Deuteranopia (green-blind)
#4383E8
Tritanopia (blue-blind)
#92819F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a166eb; /* rgb */ color: rgb(161, 102, 235); /* oklch */ color: oklch(63.4% 0.195 301.5);
Tailwind
colors: {
custom: {
50: '#c194f2',
500: '#a166eb',
950: '#000000',
},
}SCSS
$custom: #a166eb; $custom-light: #c194f2; $custom-dark: #000000;
JSON
{
"hex": "#a166eb",
"rgb": {
"r": 161,
"g": 102,
"b": 235
},
"hsl": {
"h": 266.617,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.63444,
"c": 0.19485,
"h": 301.5
},
"luminance": 0.23078
}Semantic roles & 50–950 ramp
primary
#A166EB
secondary
#D9ECC1
accent
#D90C7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85