#AB409F#AB409F

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

Color values

HEX#AB409F
RGBrgb(171, 64, 159)
HSLhsl(307, 46%, 46%)
HSVhsv(307, 63%, 67%)
CMYKcmyk(0%, 62.6%, 7%, 32.9%)
CIE-LABlab(45.40, 55.22, -30.28)
CIE-LCHlch(45.40, 62.97, 331.26°)
OKLaboklab(55.25% 0.1584 -0.0829)
OKLCHoklch(55.25% 0.179 332.4)
XYZxyz(24.8860, 14.8298, 34.3459)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB409F #40AB4C
analogous
#8140AB #AB409F #AB4069
triadic
#AB409F #9FAB40 #409FAB
tetradic
#AB409F #AB8140 #40AB4C #4069AB
square
#AB409F #AB8140 #40AB4C #4069AB
split-complementary
#AB409F #69AB40 #40AB81
monochromatic
#521F4C #7E2F76 #AB409F #C563BA #D590CE

Accessibility & contrast

On white

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

On black

3.97
#AB409F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB409F#FFFFFF#000000##FFFFFF
##AB409F1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A2
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#B2496A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab409f;
/* rgb */ color: rgb(171, 64, 159);
/* oklch */ color: oklch(55.3% 0.179 332.4);
Tailwind
colors: {
  custom: {
    50: '#c77cbb',
    500: '#ab409f',
    950: '#000000',
  },
}
SCSS
$custom: #ab409f;
$custom-light: #c77cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab409f",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 306.729,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.17873,
    "h": 332.4
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB409F

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

Preview Lab → · Contrast checker → · Palette generator →

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