#A166B1#A166B1

#A166B1 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.2% C 0.128 H 318.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A166B1
RGBrgb(161, 102, 177)
HSLhsl(287, 32%, 55%)
HSVhsv(287, 42%, 69%)
CMYKcmyk(9%, 42.4%, 0%, 30.6%)
CIE-LABlab(52.12, 36.60, -30.47)
CIE-LCHlch(52.12, 47.62, 320.22°)
OKLaboklab(60.22% 0.0961 -0.0839)
OKLCHoklch(60.22% 0.128 318.9)
XYZxyz(27.3841, 20.2550, 44.0535)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166B1 #76B166
analogous
#7C66B1 #A166B1 #B1669C
triadic
#A166B1 #B1A166 #66B1A1
tetradic
#A166B1 #B17C66 #76B166 #669CB1
square
#A166B1 #B17C66 #76B166 #669CB1
split-complementary
#A166B1 #9CB166 #66B17C
monochromatic
#5D3568 #814A90 #A166B1 #BA8FC6 #D3B7DA

Accessibility & contrast

On white

4.16
#A166B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A166B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166B1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166B1#FFFFFF#000000##000000
##A166B11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B4
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#A17083
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a166b1;
/* rgb */ color: rgb(161, 102, 177);
/* oklch */ color: oklch(60.2% 0.128 318.9);
Tailwind
colors: {
  custom: {
    50: '#be93c8',
    500: '#a166b1',
    950: '#000000',
  },
}
SCSS
$custom: #a166b1;
$custom-light: #be93c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a166b1",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 177
  },
  "hsl": {
    "h": 287.2,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.12757,
    "h": 318.9
  },
  "luminance": 0.20254
}

Semantic roles & 50–950 ramp

primary
#A166B1
secondary
#B0C9AA
accent
#C95F76
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A166B1

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

Preview Lab → · Contrast checker → · Palette generator →

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