#A166AC#A166AC

#A166AC is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.0% C 0.122 H 321.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A166AC
RGBrgb(161, 102, 172)
HSLhsl(291, 30%, 54%)
HSVhsv(291, 41%, 67%)
CMYKcmyk(6.4%, 40.7%, 0%, 32.5%)
CIE-LABlab(51.90, 35.57, -27.91)
CIE-LCHlch(51.90, 45.21, 321.88°)
OKLaboklab(59.98% 0.095 -0.0766)
OKLCHoklch(59.98% 0.122 321.1)
XYZxyz(26.8948, 20.0593, 41.4768)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166AC #71AC66
analogous
#7E66AC #A166AC #AC6694
triadic
#A166AC #ACA166 #66ACA1
tetradic
#A166AC #AC7E66 #71AC66 #6694AC
square
#A166AC #AC7E66 #71AC66 #6694AC
split-complementary
#A166AC #94AC66 #66AC7E
monochromatic
#5B3562 #804B8A #A166AC #B98EC2 #D2B5D7

Accessibility & contrast

On white

4.19
#A166AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A166AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166AC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166AC#FFFFFF#000000##000000
##A166AC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D78AF
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#A26E81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a166ac;
/* rgb */ color: rgb(161, 102, 172);
/* oklch */ color: oklch(60.0% 0.122 321.1);
Tailwind
colors: {
  custom: {
    50: '#be93c5',
    500: '#a166ac',
    950: '#000000',
  },
}
SCSS
$custom: #a166ac;
$custom-light: #be93c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ac",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 290.571,
    "s": 29.661,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59979,
    "c": 0.12206,
    "h": 321.1
  },
  "luminance": 0.20058
}

Semantic roles & 50–950 ramp

primary
#A166AC
secondary
#ADC6A8
accent
#C66272
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A166AC

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

Preview Lab → · Contrast checker → · Palette generator →

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