#AB489E#AB489E

#AB489E is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.2% C 0.166 H 332.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB489E
RGBrgb(171, 72, 158)
HSLhsl(308, 41%, 48%)
HSVhsv(308, 58%, 67%)
CMYKcmyk(0%, 57.9%, 7.6%, 32.9%)
CIE-LABlab(46.66, 51.47, -27.72)
CIE-LCHlch(46.66, 58.46, 331.70°)
OKLaboklab(56.16% 0.1478 -0.0756)
OKLCHoklch(56.16% 0.166 332.9)
XYZxyz(25.2835, 15.7631, 34.0520)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB489E #48AB55
analogous
#8748AB #AB489E #AB486C
triadic
#AB489E #9EAB48 #489EAB
tetradic
#AB489E #AB8748 #48AB55 #486CAB
square
#AB489E #AB8748 #48AB55 #486CAB
split-complementary
#AB489E #6CAB48 #48AB87
monochromatic
#55244E #803676 #AB489E #C26EB7 #D499CC

Accessibility & contrast

On white

5.06
#AB489E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB489E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB489E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB489E#FFFFFF#000000##FFFFFF
##AB489E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4566A1
Deuteranopia (green-blind)
#64749B
Tritanopia (blue-blind)
#B24F6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab489e;
/* rgb */ color: rgb(171, 72, 158);
/* oklch */ color: oklch(56.2% 0.166 332.9);
Tailwind
colors: {
  custom: {
    50: '#c780bb',
    500: '#ab489e',
    950: '#000000',
  },
}
SCSS
$custom: #ab489e;
$custom-light: #c780bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab489e",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 307.879,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.16604,
    "h": 332.9
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#AB489E
secondary
#8EC095
accent
#D16757
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB489E

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

Preview Lab → · Contrast checker → · Palette generator →

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