#AB409D#AB409D

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

Color values

HEX#AB409D
RGBrgb(171, 64, 157)
HSLhsl(308, 46%, 46%)
HSVhsv(308, 63%, 67%)
CMYKcmyk(0%, 62.6%, 8.2%, 32.9%)
CIE-LABlab(45.30, 54.89, -29.24)
CIE-LCHlch(45.30, 62.19, 331.96°)
OKLaboklab(55.15% 0.1581 -0.0799)
OKLCHoklch(55.15% 0.177 333.2)
XYZxyz(24.7139, 14.7609, 33.4392)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB409D #40AB4E
analogous
#8340AB #AB409D #AB4067
triadic
#AB409D #9DAB40 #409DAB
tetradic
#AB409D #AB8340 #40AB4E #4067AB
square
#AB409D #AB8340 #40AB4E #4067AB
split-complementary
#AB409D #67AB40 #40AB83
monochromatic
#521F4B #7E2F74 #AB409D #C563B8 #D590CC

Accessibility & contrast

On white

5.31
#AB409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB409D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB409D#FFFFFF#000000##FFFFFF
##AB409D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D61A0
Deuteranopia (green-blind)
#60719A
Tritanopia (blue-blind)
#B24868
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab409d;
/* rgb */ color: rgb(171, 64, 157);
/* oklch */ color: oklch(55.2% 0.177 333.2);
Tailwind
colors: {
  custom: {
    50: '#c77cba',
    500: '#ab409d',
    950: '#000000',
  },
}
SCSS
$custom: #ab409d;
$custom-light: #c77cba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab409d",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 307.85,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.17713,
    "h": 333.2
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#AB409D
secondary
#86C18E
accent
#D56453
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB409D

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

Preview Lab → · Contrast checker → · Palette generator →

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