#A166F2#A166F2
#A166F2 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.9% C 0.203 H 300.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A166F2 |
|---|---|
| RGB | rgb(161, 102, 242) |
| HSL | hsl(265, 84%, 67%) |
| HSV | hsv(265, 58%, 95%) |
| CMYK | cmyk(33.5%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(55.57, 51.48, -61.94) |
| CIE-LCH | lch(55.57, 80.54, 309.73°) |
| OKLab | oklab(63.89% 0.1019 -0.1756) |
| OKLCH | oklch(63.89% 0.203 300.1) |
| XYZ | xyz(35.4725, 23.4904, 86.6524) |
| Luminance | 0.2349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.70
Light Urple
#B36FF6
ΔE00 4.06
Mediumpurple
#9370DB
ΔE00 4.66
Lightish Purple
#A552E6
ΔE00 5.09
Easter Purple
#C071FE
ΔE00 6.31
Bright Lavender
#C760FF
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A166F2 #B7F266
analogous
#6671F2 #A166F2 #E766F2
triadic
#A166F2 #F2A166 #66F2A1
tetradic
#A166F2 #F26671 #B7F266 #66F2E7
square
#A166F2 #F26671 #B7F266 #66F2E7
split-complementary
#A166F2 #F2E766 #71F266
monochromatic
#6011CC #7E2EED #A166F2 #C49EF7 #E6D7FC
Accessibility & contrast
On white
3.69
#A166F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#A166F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A166F2
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A166F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A166F2 | 1.00 | 3.69 | 5.70 | 5.70 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D85F7
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#9083A2
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a166f2; /* rgb */ color: rgb(161, 102, 242); /* oklch */ color: oklch(63.9% 0.203 300.1);
Tailwind
colors: {
custom: {
50: '#c194f7',
500: '#a166f2',
950: '#000000',
},
}SCSS
$custom: #a166f2; $custom-light: #c194f7; $custom-dark: #000000;
JSON
{
"hex": "#a166f2",
"rgb": {
"r": 161,
"g": 102,
"b": 242
},
"hsl": {
"h": 265.286,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.63888,
"c": 0.20299,
"h": 300.1
},
"luminance": 0.23491
}Semantic roles & 50–950 ramp
primary
#A166F2
secondary
#DDF0C4
accent
#E10584
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85