#A166AB#A166AB

#A166AB is a mid, vivid purple. Relative luminance 0.200; OKLCH L 59.9% C 0.121 H 321.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A166AB
RGBrgb(161, 102, 171)
HSLhsl(291, 29%, 54%)
HSVhsv(291, 40%, 67%)
CMYKcmyk(5.8%, 40.4%, 0%, 32.9%)
CIE-LABlab(51.86, 35.36, -27.39)
CIE-LCHlch(51.86, 44.73, 322.24°)
OKLaboklab(59.93% 0.0948 -0.0751)
OKLCHoklch(59.93% 0.121 321.6)
XYZxyz(26.7991, 20.0210, 40.9729)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166AB #70AB66
analogous
#7E66AB #A166AB #AB6692
triadic
#A166AB #ABA166 #66ABA1
tetradic
#A166AB #AB7E66 #70AB66 #6692AB
square
#A166AB #AB7E66 #70AB66 #6692AB
split-complementary
#A166AB #92AB66 #66AB7E
monochromatic
#5B3561 #804B89 #A166AB #B98EC1 #D2B5D6

Accessibility & contrast

On white

4.20
#A166AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A166AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166AB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166AB#FFFFFF#000000##000000
##A166AB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AE
Deuteranopia (green-blind)
#6D7EA9
Tritanopia (blue-blind)
#A36E80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a166ab;
/* rgb */ color: rgb(161, 102, 171);
/* oklch */ color: oklch(59.9% 0.121 321.6);
Tailwind
colors: {
  custom: {
    50: '#be93c4',
    500: '#a166ab',
    950: '#000000',
  },
}
SCSS
$custom: #a166ab;
$custom-light: #be93c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ab",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 291.304,
    "s": 29.114,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.12097,
    "h": 321.6
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#A166AB
secondary
#ACC5A8
accent
#C56271
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D12
muted
#817E81

Preview Lab

Preview with #A166AB

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

Preview Lab → · Contrast checker → · Palette generator →

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