#A166EA#A166EA
#A166EA is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.4% C 0.194 H 301.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A166EA |
|---|---|
| RGB | rgb(161, 102, 234) |
| HSL | hsl(267, 76%, 66%) |
| HSV | hsv(267, 56%, 92%) |
| CMYK | cmyk(31.2%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(55.09, 49.53, -58.24) |
| CIE-LCH | lch(55.09, 76.46, 310.38°) |
| OKLab | oklab(63.38% 0.1019 -0.1647) |
| OKLCH | oklch(63.38% 0.194 301.7) |
| XYZ | xyz(34.2971, 23.0202, 80.4624) |
| Luminance | 0.2302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.88
Mediumpurple
#9370DB
ΔE00 4.13
Light Urple
#B36FF6
ΔE00 4.22
Lightish Purple
#A552E6
ΔE00 4.67
Easter Purple
#C071FE
ΔE00 6.53
Bright Lavender
#C760FF
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166EA #AFEA66
analogous
#666DEA #A166EA #E366EA
triadic
#A166EA #EAA166 #66EAA1
tetradic
#A166EA #EA666D #AFEA66 #66EAE3
square
#A166EA #EA666D #AFEA66 #66EAE3
split-complementary
#A166EA #EAE366 #6DEA66
monochromatic
#621ABC #8030E3 #A166EA #C29CF1 #E3D2F9
Accessibility & contrast
On white
3.75
#A166EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#A166EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166EA
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166EA | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C83EE
Deuteranopia (green-blind)
#4483E7
Tritanopia (blue-blind)
#93809E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a166ea; /* rgb */ color: rgb(161, 102, 234); /* oklch */ color: oklch(63.4% 0.194 301.7);
Tailwind
colors: {
custom: {
50: '#c194f1',
500: '#a166ea',
950: '#000000',
},
}SCSS
$custom: #a166ea; $custom-light: #c194f1; $custom-dark: #000000;
JSON
{
"hex": "#a166ea",
"rgb": {
"r": 161,
"g": 102,
"b": 234
},
"hsl": {
"h": 266.818,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.63382,
"c": 0.19368,
"h": 301.7
},
"luminance": 0.2302
}Semantic roles & 50–950 ramp
primary
#A166EA
secondary
#D8ECC0
accent
#D80D7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85