#AB489B#AB489B

#AB489B is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.0% C 0.164 H 334.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB489B
RGBrgb(171, 72, 155)
HSLhsl(310, 41%, 48%)
HSVhsv(310, 58%, 67%)
CMYKcmyk(0%, 57.9%, 9.4%, 32.9%)
CIE-LABlab(46.53, 50.97, -26.14)
CIE-LCHlch(46.53, 57.28, 332.85°)
OKLaboklab(56.02% 0.1473 -0.0711)
OKLCHoklch(56.02% 0.164 334.2)
XYZxyz(25.0284, 15.6611, 32.7086)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB489B #48AB58
analogous
#8948AB #AB489B #AB4869
triadic
#AB489B #9BAB48 #489BAB
tetradic
#AB489B #AB8948 #48AB58 #4869AB
square
#AB489B #AB8948 #48AB58 #4869AB
split-complementary
#AB489B #69AB48 #48AB89
monochromatic
#55244D #803674 #AB489B #C26EB4 #D499CB

Accessibility & contrast

On white

5.08
#AB489B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB489B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB489B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB489B#FFFFFF#000000##FFFFFF
##AB489B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47659E
Deuteranopia (green-blind)
#657498
Tritanopia (blue-blind)
#B24E6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab489b;
/* rgb */ color: rgb(171, 72, 155);
/* oklch */ color: oklch(56.0% 0.164 334.2);
Tailwind
colors: {
  custom: {
    50: '#c780b8',
    500: '#ab489b',
    950: '#000000',
  },
}
SCSS
$custom: #ab489b;
$custom-light: #c780b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab489b",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 309.697,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56017,
    "c": 0.16361,
    "h": 334.2
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#AB489B
secondary
#8EC096
accent
#D16B57
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB489B

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

Preview Lab → · Contrast checker → · Palette generator →

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