#AB409A#AB409A

#AB409A is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.0% C 0.175 H 334.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB409A
RGBrgb(171, 64, 154)
HSLhsl(310, 46%, 46%)
HSVhsv(310, 63%, 67%)
CMYKcmyk(0%, 62.6%, 9.9%, 32.9%)
CIE-LABlab(45.16, 54.40, -27.66)
CIE-LCHlch(45.16, 61.03, 333.05°)
OKLaboklab(55% 0.1577 -0.0754)
OKLCHoklch(55% 0.175 334.5)
XYZxyz(24.4609, 14.6597, 32.1069)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB409A #40AB51
analogous
#8640AB #AB409A #AB4064
triadic
#AB409A #9AAB40 #409AAB
tetradic
#AB409A #AB8640 #40AB51 #4064AB
square
#AB409A #AB8640 #40AB51 #4064AB
split-complementary
#AB409A #64AB40 #40AB86
monochromatic
#521F4A #7E2F72 #AB409A #C563B5 #D590CA

Accessibility & contrast

On white

5.34
#AB409A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB409A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB409A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB409A#FFFFFF#000000##FFFFFF
##AB409A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F619D
Deuteranopia (green-blind)
#617197
Tritanopia (blue-blind)
#B34767
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab409a;
/* rgb */ color: rgb(171, 64, 154);
/* oklch */ color: oklch(55.0% 0.175 334.5);
Tailwind
colors: {
  custom: {
    50: '#c77cb8',
    500: '#ab409a',
    950: '#000000',
  },
}
SCSS
$custom: #ab409a;
$custom-light: #c77cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab409a",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 309.533,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.17478,
    "h": 334.5
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#AB409A
secondary
#86C18F
accent
#D56753
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB409A

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

Preview Lab → · Contrast checker → · Palette generator →

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