#AB409E#AB409E

#AB409E is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.178 H 332.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB409E
RGBrgb(171, 64, 158)
HSLhsl(307, 46%, 46%)
HSVhsv(307, 63%, 67%)
CMYKcmyk(0%, 62.6%, 7.6%, 32.9%)
CIE-LABlab(45.35, 55.05, -29.76)
CIE-LCHlch(45.35, 62.58, 331.60°)
OKLaboklab(55.2% 0.1582 -0.0814)
OKLCHoklch(55.2% 0.178 332.8)
XYZxyz(24.7996, 14.7952, 33.8907)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB409E #40AB4D
analogous
#8240AB #AB409E #AB4068
triadic
#AB409E #9EAB40 #409EAB
tetradic
#AB409E #AB8240 #40AB4D #4068AB
square
#AB409E #AB8240 #40AB4D #4068AB
split-complementary
#AB409E #68AB40 #40AB82
monochromatic
#521F4C #7E2F75 #AB409E #C563B9 #D590CD

Accessibility & contrast

On white

5.30
#AB409E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB409E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB409E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB409E#FFFFFF#000000##FFFFFF
##AB409E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#B24969
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab409e;
/* rgb */ color: rgb(171, 64, 158);
/* oklch */ color: oklch(55.2% 0.178 332.8);
Tailwind
colors: {
  custom: {
    50: '#c77cbb',
    500: '#ab409e',
    950: '#000000',
  },
}
SCSS
$custom: #ab409e;
$custom-light: #c77cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab409e",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 307.29,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.17793,
    "h": 332.8
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#AB409E
secondary
#86C18D
accent
#D56253
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB409E

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

Preview Lab → · Contrast checker → · Palette generator →

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