#A166A5#A166A5

#A166A5 is a mid, moderate purple. Relative luminance 0.198; OKLCH L 59.7% C 0.115 H 324.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A166A5
RGBrgb(161, 102, 165)
HSLhsl(296, 26%, 52%)
HSVhsv(296, 38%, 65%)
CMYKcmyk(2.4%, 38.2%, 0%, 35.3%)
CIE-LABlab(51.61, 34.16, -24.28)
CIE-LCHlch(51.61, 41.91, 324.59°)
OKLaboklab(59.66% 0.0934 -0.0663)
OKLCHoklch(59.66% 0.115 324.6)
XYZxyz(26.2402, 19.7974, 38.0291)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166A5 #6AA566
analogous
#8166A5 #A166A5 #A5668A
triadic
#A166A5 #A5A166 #66A5A1
tetradic
#A166A5 #A58166 #6AA566 #668AA5
square
#A166A5 #A58166 #6AA566 #668AA5
split-complementary
#A166A5 #8AA566 #66A581
monochromatic
#59365B #7E4C82 #A166A5 #B98DBC #D0B3D2

Accessibility & contrast

On white

4.23
#A166A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A166A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166A5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166A5#FFFFFF#000000##000000
##A166A51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6076A7
Deuteranopia (green-blind)
#6F7EA3
Tritanopia (blue-blind)
#A46C7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a166a5;
/* rgb */ color: rgb(161, 102, 165);
/* oklch */ color: oklch(59.7% 0.115 324.6);
Tailwind
colors: {
  custom: {
    50: '#be93c0',
    500: '#a166a5',
    950: '#000000',
  },
}
SCSS
$custom: #a166a5;
$custom-light: #be93c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a166a5",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 165
  },
  "hsl": {
    "h": 296.19,
    "s": 25.926,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59658,
    "c": 0.11455,
    "h": 324.6
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#A166A5
secondary
#A7C1A6
accent
#C2656B
background
#FBF9FB
surface
#F7F1F7
border
#D0CBD0
text
#120D12
muted
#817E81

Preview Lab

Preview with #A166A5

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

Preview Lab → · Contrast checker → · Palette generator →

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