#A166AE#A166AE

#A166AE is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.1% C 0.124 H 320.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A166AE
RGBrgb(161, 102, 174)
HSLhsl(289, 31%, 54%)
HSVhsv(289, 41%, 68%)
CMYKcmyk(7.5%, 41.4%, 0%, 31.8%)
CIE-LABlab(51.99, 35.98, -28.93)
CIE-LCHlch(51.99, 46.17, 321.19°)
OKLaboklab(60.07% 0.0955 -0.0795)
OKLCHoklch(60.07% 0.124 320.2)
XYZxyz(27.0883, 20.1367, 42.4960)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A166AE #73AE66
analogous
#7D66AE #A166AE #AE6697
triadic
#A166AE #AEA166 #66AEA1
tetradic
#A166AE #AE7D66 #73AE66 #6697AE
square
#A166AE #AE7D66 #73AE66 #6697AE
split-complementary
#A166AE #97AE66 #66AE7D
monochromatic
#5C3564 #814A8C #A166AE #BA8EC3 #D2B6D8

Accessibility & contrast

On white

4.18
#A166AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A166AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A166AE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A166AE#FFFFFF#000000##000000
##A166AE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C78B1
Deuteranopia (green-blind)
#6C7EAC
Tritanopia (blue-blind)
#A26F82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a166ae;
/* rgb */ color: rgb(161, 102, 174);
/* oklch */ color: oklch(60.1% 0.124 320.2);
Tailwind
colors: {
  custom: {
    50: '#be93c6',
    500: '#a166ae',
    950: '#000000',
  },
}
SCSS
$custom: #a166ae;
$custom-light: #be93c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a166ae",
  "rgb": {
    "r": 161,
    "g": 102,
    "b": 174
  },
  "hsl": {
    "h": 289.167,
    "s": 30.769,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.12425,
    "h": 320.2
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#A166AE
secondary
#AEC7A9
accent
#C76173
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A166AE

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

Preview Lab → · Contrast checker → · Palette generator →

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