#AB409B#AB409B

#AB409B is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.176 H 334.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB409B
RGBrgb(171, 64, 155)
HSLhsl(309, 46%, 46%)
HSVhsv(309, 63%, 67%)
CMYKcmyk(0%, 62.6%, 9.4%, 32.9%)
CIE-LABlab(45.21, 54.56, -28.19)
CIE-LCHlch(45.21, 61.41, 332.68°)
OKLaboklab(55.05% 0.1578 -0.0769)
OKLCHoklch(55.05% 0.176 334)
XYZxyz(24.5445, 14.6932, 32.5473)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB409B #40AB50
analogous
#8540AB #AB409B #AB4065
triadic
#AB409B #9BAB40 #409BAB
tetradic
#AB409B #AB8540 #40AB50 #4065AB
square
#AB409B #AB8540 #40AB50 #4065AB
split-complementary
#AB409B #65AB40 #40AB85
monochromatic
#521F4A #7E2F73 #AB409B #C563B6 #D590CB

Accessibility & contrast

On white

5.33
#AB409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB409B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB409B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB409B#FFFFFF#000000##FFFFFF
##AB409B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#617198
Tritanopia (blue-blind)
#B34867
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab409b;
/* rgb */ color: rgb(171, 64, 155);
/* oklch */ color: oklch(55.1% 0.176 334.0);
Tailwind
colors: {
  custom: {
    50: '#c77cb9',
    500: '#ab409b',
    950: '#000000',
  },
}
SCSS
$custom: #ab409b;
$custom-light: #c77cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab409b",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 308.972,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.17556,
    "h": 334
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB409B

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

Preview Lab → · Contrast checker → · Palette generator →

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