#A166EE#A166EE
#A166EE is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.198 H 300.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A166EE |
|---|---|
| RGB | rgb(161, 102, 238) |
| HSL | hsl(266, 80%, 67%) |
| HSV | hsv(266, 57%, 93%) |
| CMYK | cmyk(32.4%, 57.1%, 0%, 6.7%) |
| CIE-LAB | lab(55.33, 50.50, -60.10) |
| CIE-LCH | lch(55.33, 78.50, 310.04°) |
| OKLab | oklab(63.63% 0.1019 -0.1701) |
| OKLCH | oklch(63.63% 0.198 300.9) |
| XYZ | xyz(34.8783, 23.2527, 83.5230) |
| Luminance | 0.2325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.72
Light Urple
#B36FF6
ΔE00 4.11
Mediumpurple
#9370DB
ΔE00 4.37
Lightish Purple
#A552E6
ΔE00 4.85
Easter Purple
#C071FE
ΔE00 6.40
Bright Lavender
#C760FF
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166EE #B3EE66
analogous
#666FEE #A166EE #E566EE
triadic
#A166EE #EEA166 #66EEA1
tetradic
#A166EE #EE666F #B3EE66 #66EEE5
square
#A166EE #EE666F #B3EE66 #66EEE5
split-complementary
#A166EE #EEE566 #6FEE66
monochromatic
#6116C4 #7F2FE8 #A166EE #C39DF4 #E5D4FA
Accessibility & contrast
On white
3.72
#A166EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#A166EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166EE
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166EE | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#3F84EB
Tritanopia (blue-blind)
#9182A0
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a166ee; /* rgb */ color: rgb(161, 102, 238); /* oklch */ color: oklch(63.6% 0.198 300.9);
Tailwind
colors: {
custom: {
50: '#c194f4',
500: '#a166ee',
950: '#000000',
},
}SCSS
$custom: #a166ee; $custom-light: #c194f4; $custom-dark: #000000;
JSON
{
"hex": "#a166ee",
"rgb": {
"r": 161,
"g": 102,
"b": 238
},
"hsl": {
"h": 266.029,
"s": 80,
"l": 66.667
},
"oklch": {
"l": 0.63633,
"c": 0.19834,
"h": 300.9
},
"luminance": 0.23253
}Semantic roles & 50–950 ramp
primary
#A166EE
secondary
#DBEEC2
accent
#DC0981
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85