#A166F9#A166F9
#A166F9 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.3% C 0.211 H 298.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A166F9 |
|---|---|
| RGB | rgb(161, 102, 249) |
| HSL | hsl(264, 92%, 69%) |
| HSV | hsv(264, 59%, 98%) |
| CMYK | cmyk(35.3%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(56.01, 53.20, -65.13) |
| CIE-LCH | lch(56.01, 84.10, 309.24°) |
| OKLab | oklab(64.34% 0.1018 -0.1849) |
| OKLCH | oklch(64.34% 0.211 298.8) |
| XYZ | xyz(36.5440, 23.9190, 92.2957) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.94
Light Urple
#B36FF6
ΔE00 4.16
Mediumpurple
#9370DB
ΔE00 5.27
Lightish Purple
#A552E6
ΔE00 5.61
Easter Purple
#C071FE
ΔE00 6.26
Bright Lavender
#C760FF
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166F9 #BEF966
analogous
#6675F9 #A166F9 #EB66F9
triadic
#A166F9 #F9A166 #66F9A1
tetradic
#A166F9 #F96675 #BEF966 #66F9EB
square
#A166F9 #F96675 #BEF966 #66F9EB
split-complementary
#A166F9 #F9EB66 #75F966
monochromatic
#5D09DC #7D2BF7 #A166F9 #C5A1FB #E9DCFE
Accessibility & contrast
On white
3.63
#A166F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#A166F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166F9
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166F9 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#3085F6
Tritanopia (blue-blind)
#8D85A6
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a166f9; /* rgb */ color: rgb(161, 102, 249); /* oklch */ color: oklch(64.3% 0.211 298.8);
Tailwind
colors: {
custom: {
50: '#c294fc',
500: '#a166f9',
950: '#000000',
},
}SCSS
$custom: #a166f9; $custom-light: #c294fc; $custom-dark: #000000;
JSON
{
"hex": "#a166f9",
"rgb": {
"r": 161,
"g": 102,
"b": 249
},
"hsl": {
"h": 264.082,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.64343,
"c": 0.21109,
"h": 298.8
},
"luminance": 0.23919
}Semantic roles & 50–950 ramp
primary
#A166F9
secondary
#E2F3C8
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86