#A166EF#A166EF
#A166EF is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.200 H 300.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A166EF |
|---|---|
| RGB | rgb(161, 102, 239) |
| HSL | hsl(266, 81%, 67%) |
| HSV | hsv(266, 57%, 94%) |
| CMYK | cmyk(32.6%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(55.39, 50.75, -60.56) |
| CIE-LCH | lch(55.39, 79.01, 309.96°) |
| OKLab | oklab(63.7% 0.1019 -0.1715) |
| OKLCH | oklch(63.7% 0.2 300.7) |
| XYZ | xyz(35.0256, 23.3116, 84.2989) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.71
Light Urple
#B36FF6
ΔE00 4.09
Mediumpurple
#9370DB
ΔE00 4.44
Lightish Purple
#A552E6
ΔE00 4.90
Easter Purple
#C071FE
ΔE00 6.37
Bright Lavender
#C760FF
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166EF #B4EF66
analogous
#6670EF #A166EF #E566EF
triadic
#A166EF #EFA166 #66EFA1
tetradic
#A166EF #EF6670 #B4EF66 #66EFE5
square
#A166EF #EF6670 #B4EF66 #66EFE5
split-complementary
#A166EF #EFE566 #70EF66
monochromatic
#6115C6 #7F2FE9 #A166EF #C39DF5 #E5D5FB
Accessibility & contrast
On white
3.71
#A166EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#A166EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166EF
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166EF | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#3E84EC
Tritanopia (blue-blind)
#9182A1
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a166ef; /* rgb */ color: rgb(161, 102, 239); /* oklch */ color: oklch(63.7% 0.200 300.7);
Tailwind
colors: {
custom: {
50: '#c194f5',
500: '#a166ef',
950: '#000000',
},
}SCSS
$custom: #a166ef; $custom-light: #c194f5; $custom-dark: #000000;
JSON
{
"hex": "#a166ef",
"rgb": {
"r": 161,
"g": 102,
"b": 239
},
"hsl": {
"h": 265.839,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.63697,
"c": 0.1995,
"h": 300.7
},
"luminance": 0.23312
}Semantic roles & 50–950 ramp
primary
#A166EF
secondary
#DBEEC2
accent
#DD0882
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85