#A166BD#A166BD

#A166BD is a mid, vivid purple. Relative luminance 0.208; OKLCH L 60.8% C 0.141 H 314.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A166BD
RGBrgb(161, 102, 189)
HSLhsl(281, 40%, 57%)
HSVhsv(281, 46%, 74%)
CMYKcmyk(14.8%, 46%, 0%, 25.9%)
CIE-LABlab(52.68, 39.15, -36.53)
CIE-LCHlch(52.68, 53.55, 316.98°)
OKLaboklab(60.81% 0.0982 -0.1014)
OKLCHoklch(60.81% 0.141 314.1)
XYZxyz(28.6331, 20.7546, 50.6319)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166BD #82BD66
analogous
#7666BD #A166BD #BD66AD
triadic
#A166BD #BDA166 #66BDA1
tetradic
#A166BD #BD7666 #82BD66 #66ADBD
square
#A166BD #BD7666 #82BD66 #66ADBD
split-complementary
#A166BD #ADBD66 #66BD76
monochromatic
#603376 #8345A1 #A166BD #BB91CF #D6BCE2

Accessibility & contrast

On white

4.08
#A166BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A166BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166BD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166BD#FFFFFF#000000##000000
##A166BD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557AC0
Deuteranopia (green-blind)
#657FBB
Tritanopia (blue-blind)
#9F7389
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a166bd;
/* rgb */ color: rgb(161, 102, 189);
/* oklch */ color: oklch(60.8% 0.141 314.1);
Tailwind
colors: {
  custom: {
    50: '#be93d1',
    500: '#a166bd',
    950: '#000000',
  },
}
SCSS
$custom: #a166bd;
$custom-light: #be93d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a166bd",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 280.69,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.14116,
    "h": 314.1
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#A166BD
secondary
#B9D1AE
accent
#D0587F
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A166BD

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

Preview Lab → · Contrast checker → · Palette generator →

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