#AB489F#AB489F

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

Color values

HEX#AB489F
RGBrgb(171, 72, 159)
HSLhsl(307, 41%, 48%)
HSVhsv(307, 58%, 67%)
CMYKcmyk(0%, 57.9%, 7%, 32.9%)
CIE-LABlab(46.71, 51.64, -28.24)
CIE-LCHlch(46.71, 58.86, 331.33°)
OKLaboklab(56.21% 0.148 -0.0771)
OKLCHoklch(56.21% 0.167 332.5)
XYZxyz(25.3699, 15.7977, 34.5072)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB489F #48AB54
analogous
#8648AB #AB489F #AB486D
triadic
#AB489F #9FAB48 #489FAB
tetradic
#AB489F #AB8648 #48AB54 #486DAB
square
#AB489F #AB8648 #48AB54 #486DAB
split-complementary
#AB489F #6DAB48 #48AB86
monochromatic
#55244F #803677 #AB489F #C26EB8 #D499CD

Accessibility & contrast

On white

5.05
#AB489F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AB489F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB489F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB489F#FFFFFF#000000##FFFFFF
##AB489F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4566A2
Deuteranopia (green-blind)
#64749C
Tritanopia (blue-blind)
#B2506D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab489f;
/* rgb */ color: rgb(171, 72, 159);
/* oklch */ color: oklch(56.2% 0.167 332.5);
Tailwind
colors: {
  custom: {
    50: '#c780bb',
    500: '#ab489f',
    950: '#000000',
  },
}
SCSS
$custom: #ab489f;
$custom-light: #c780bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab489f",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 307.273,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.16687,
    "h": 332.5
  },
  "luminance": 0.15796
}

Semantic roles & 50–950 ramp

primary
#AB489F
secondary
#8EC094
accent
#D16657
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB489F

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

Preview Lab → · Contrast checker → · Palette generator →

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