#A166E6#A166E6
#A166E6 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.189 H 302.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A166E6 |
|---|---|
| RGB | rgb(161, 102, 230) |
| HSL | hsl(268, 72%, 65%) |
| HSV | hsv(268, 56%, 90%) |
| CMYK | cmyk(30%, 55.7%, 0%, 9.8%) |
| CIE-LAB | lab(54.86, 48.57, -56.38) |
| CIE-LCH | lch(54.86, 74.41, 310.74°) |
| OKLab | oklab(63.13% 0.1018 -0.1592) |
| OKLCH | oklch(63.13% 0.189 302.6) |
| XYZ | xyz(33.7290, 22.7930, 77.4701) |
| Luminance | 0.2279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.15
Mediumpurple
#9370DB
ΔE00 3.97
Light Urple
#B36FF6
ΔE00 4.42
Lightish Purple
#A552E6
ΔE00 4.56
Amethyst
#9B5FC0
ΔE00 6.55
Easter Purple
#C071FE
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166E6 #ABE666
analogous
#666BE6 #A166E6 #E166E6
triadic
#A166E6 #E6A166 #66E6A1
tetradic
#A166E6 #E6666B #ABE666 #66E6E1
square
#A166E6 #E6666B #ABE666 #66E6E1
split-complementary
#A166E6 #E6E166 #6BE666
monochromatic
#631DB4 #8131DD #A166E6 #C19BEF #E2CFF7
Accessibility & contrast
On white
3.78
#A166E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#A166E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166E6
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166E6 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3282EA
Deuteranopia (green-blind)
#4883E3
Tritanopia (blue-blind)
#947F9C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a166e6; /* rgb */ color: rgb(161, 102, 230); /* oklch */ color: oklch(63.1% 0.189 302.6);
Tailwind
colors: {
custom: {
50: '#c094ee',
500: '#a166e6',
950: '#000000',
},
}SCSS
$custom: #a166e6; $custom-light: #c094ee; $custom-dark: #000000;
JSON
{
"hex": "#a166e6",
"rgb": {
"r": 161,
"g": 102,
"b": 230
},
"hsl": {
"h": 267.656,
"s": 71.91,
"l": 65.098
},
"oklch": {
"l": 0.63134,
"c": 0.18901,
"h": 302.6
},
"luminance": 0.22793
}Semantic roles & 50–950 ramp
primary
#A166E6
secondary
#D6EABE
accent
#D4127A
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84