#AB169A#AB169A

#AB169A is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.219 H 333.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB169A
RGBrgb(171, 22, 154)
HSLhsl(307, 77%, 38%)
HSVhsv(307, 87%, 67%)
CMYKcmyk(0%, 87.1%, 9.9%, 32.9%)
CIE-LABlab(40.52, 67.57, -34.96)
CIE-LCHlch(40.52, 76.08, 332.65°)
OKLaboklab(51.65% 0.1964 -0.096)
OKLCHoklch(51.65% 0.219 333.9)
XYZxyz(22.9145, 11.5670, 31.5914)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB169A #16AB27
analogous
#7216AB #AB169A #AB164F
triadic
#AB169A #9AAB16 #169AAB
tetradic
#AB169A #AB7216 #16AB27 #164FAB
square
#AB169A #AB7216 #16AB27 #164FAB
split-complementary
#AB169A #4FAB16 #16AB72
monochromatic
#3F0838 #750F69 #AB169A #E11DCB #E953D8

Accessibility & contrast

On white

6.34
#AB169A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB169A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB169A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB169A#FFFFFF#000000##FFFFFF
##AB169A1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529D
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#B32A5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab169a;
/* rgb */ color: rgb(171, 22, 154);
/* oklch */ color: oklch(51.7% 0.219 333.9);
Tailwind
colors: {
  custom: {
    50: '#c86bb8',
    500: '#ab169a',
    950: '#000000',
  },
}
SCSS
$custom: #ab169a;
$custom-light: #c86bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab169a",
  "rgb": {
    "r": 171,
    "g": 22,
    "b": 154
  },
  "hsl": {
    "h": 306.846,
    "s": 77.202,
    "l": 37.843
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.21866,
    "h": 333.9
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#AB169A
secondary
#52CB5F
accent
#F44A34
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB169A

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

Preview Lab → · Contrast checker → · Palette generator →

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