#A166DF#A166DF

#A166DF is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.181 H 304.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A166DF
RGBrgb(161, 102, 223)
HSLhsl(269, 65%, 64%)
HSVhsv(269, 54%, 87%)
CMYKcmyk(27.8%, 54.3%, 0%, 12.5%)
CIE-LABlab(54.46, 46.89, -53.08)
CIE-LCHlch(54.46, 70.83, 311.46°)
OKLaboklab(62.71% 0.1016 -0.1496)
OKLCHoklch(62.71% 0.181 304.2)
XYZxyz(32.7657, 22.4076, 72.3967)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166DF #A4DF66
analogous
#6667DF #A166DF #DD66DF
triadic
#A166DF #DFA166 #66DFA1
tetradic
#A166DF #DF6667 #A4DF66 #66DFDD
square
#A166DF #DF6667 #A4DF66 #66DFDD
split-complementary
#A166DF #DFDD66 #67DF66
monochromatic
#6423A8 #8233D4 #A166DF #C099EA #DFCBF4

Accessibility & contrast

On white

3.83
#A166DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#A166DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166DF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166DF#FFFFFF#000000##000000
##A166DF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A81E3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#967D99
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a166df;
/* rgb */ color: rgb(161, 102, 223);
/* oklch */ color: oklch(62.7% 0.181 304.2);
Tailwind
colors: {
  custom: {
    50: '#c094e9',
    500: '#a166df',
    950: '#000000',
  },
}
SCSS
$custom: #a166df;
$custom-light: #c094e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a166df",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 269.256,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62709,
    "c": 0.18082,
    "h": 304.2
  },
  "luminance": 0.22408
}

Semantic roles & 50–950 ramp

primary
#A166DF
secondary
#D1E6BB
accent
#CD1875
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A166DF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A166DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva