#AB499D#AB499D

#AB499D is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.164 H 333.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB499D
RGBrgb(171, 73, 157)
HSLhsl(309, 40%, 48%)
HSVhsv(309, 57%, 67%)
CMYKcmyk(0%, 57.3%, 8.2%, 32.9%)
CIE-LABlab(46.79, 50.84, -26.93)
CIE-LCHlch(46.79, 57.53, 332.09°)
OKLaboklab(56.24% 0.1463 -0.0734)
OKLCHoklch(56.24% 0.164 333.4)
XYZxyz(25.2630, 15.8591, 33.6223)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB499D #49AB57
analogous
#8849AB #AB499D #AB496C
triadic
#AB499D #9DAB49 #499DAB
tetradic
#AB499D #AB8849 #49AB57 #496CAB
square
#AB499D #AB8849 #49AB57 #496CAB
split-complementary
#AB499D #6CAB49 #49AB88
monochromatic
#55244E #803776 #AB499D #C26FB6 #D49ACC

Accessibility & contrast

On white

5.03
#AB499D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB499D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB499D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB499D#FFFFFF#000000##FFFFFF
##AB499D1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4766A0
Deuteranopia (green-blind)
#65749A
Tritanopia (blue-blind)
#B2506C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab499d;
/* rgb */ color: rgb(171, 73, 157);
/* oklch */ color: oklch(56.2% 0.164 333.4);
Tailwind
colors: {
  custom: {
    50: '#c681ba',
    500: '#ab499d',
    950: '#000000',
  },
}
SCSS
$custom: #ab499d;
$custom-light: #c681ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab499d",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 308.571,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.16368,
    "h": 333.4
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#AB499D
secondary
#8FC096
accent
#D06958
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB499D

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

Preview Lab → · Contrast checker → · Palette generator →

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