#AB489D#AB489D

#AB489D is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.165 H 333.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB489D
RGBrgb(171, 72, 157)
HSLhsl(308, 41%, 48%)
HSVhsv(308, 58%, 67%)
CMYKcmyk(0%, 57.9%, 8.2%, 32.9%)
CIE-LABlab(46.62, 51.30, -27.19)
CIE-LCHlch(46.62, 58.06, 332.07°)
OKLaboklab(56.11% 0.1477 -0.0741)
OKLCHoklch(56.11% 0.165 333.3)
XYZxyz(25.1978, 15.7288, 33.6006)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB489D #48AB56
analogous
#8848AB #AB489D #AB486B
triadic
#AB489D #9DAB48 #489DAB
tetradic
#AB489D #AB8848 #48AB56 #486BAB
square
#AB489D #AB8848 #48AB56 #486BAB
split-complementary
#AB489D #6BAB48 #48AB88
monochromatic
#55244E #803675 #AB489D #C26EB6 #D499CC

Accessibility & contrast

On white

5.07
#AB489D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB489D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB489D#FFFFFF#000000##FFFFFF
##AB489D1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4665A0
Deuteranopia (green-blind)
#64749A
Tritanopia (blue-blind)
#B24F6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab489d;
/* rgb */ color: rgb(171, 72, 157);
/* oklch */ color: oklch(56.1% 0.165 333.3);
Tailwind
colors: {
  custom: {
    50: '#c780ba',
    500: '#ab489d',
    950: '#000000',
  },
}
SCSS
$custom: #ab489d;
$custom-light: #c780ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab489d",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 308.485,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.16522,
    "h": 333.3
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#AB489D
secondary
#8EC095
accent
#D16857
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB489D

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

Preview Lab → · Contrast checker → · Palette generator →

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