#A166B8#A166B8

#A166B8 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.6% C 0.135 H 316.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A166B8
RGBrgb(161, 102, 184)
HSLhsl(283, 37%, 56%)
HSVhsv(283, 45%, 72%)
CMYKcmyk(12.5%, 44.6%, 0%, 27.8%)
CIE-LABlab(52.44, 38.07, -34.02)
CIE-LCHlch(52.44, 51.06, 318.22°)
OKLaboklab(60.56% 0.0974 -0.0941)
OKLCHoklch(60.56% 0.135 316)
XYZxyz(28.0997, 20.5413, 47.8227)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166B8 #7DB866
analogous
#7866B8 #A166B8 #B866A6
triadic
#A166B8 #B8A166 #66B8A1
tetradic
#A166B8 #B87866 #7DB866 #66A6B8
square
#A166B8 #B87866 #7DB866 #66A6B8
split-complementary
#A166B8 #A6B866 #66B878
monochromatic
#5F3470 #82479A #A166B8 #BB90CB #D4BADF

Accessibility & contrast

On white

4.11
#A166B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A166B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166B8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166B8#FFFFFF#000000##000000
##A166B81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5779BB
Deuteranopia (green-blind)
#677FB6
Tritanopia (blue-blind)
#A07186
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a166b8;
/* rgb */ color: rgb(161, 102, 184);
/* oklch */ color: oklch(60.6% 0.135 316.0);
Tailwind
colors: {
  custom: {
    50: '#be93cd',
    500: '#a166b8',
    950: '#000000',
  },
}
SCSS
$custom: #a166b8;
$custom-light: #be93cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a166b8",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 283.171,
    "s": 36.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.13545,
    "h": 316
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

primary
#A166B8
secondary
#B5CEAC
accent
#CD5B7B
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D13
muted
#817E82

Preview Lab

Preview with #A166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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