#AB289E#AB289E

#AB289E is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.207 H 332.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB289E
RGBrgb(171, 40, 158)
HSLhsl(306, 62%, 41%)
HSVhsv(306, 77%, 67%)
CMYKcmyk(0%, 76.6%, 7.6%, 32.9%)
CIE-LABlab(42.23, 63.85, -34.67)
CIE-LCHlch(42.23, 72.66, 331.50°)
OKLaboklab(52.94% 0.1839 -0.0953)
OKLCHoklch(52.94% 0.207 332.6)
XYZxyz(23.7250, 12.6461, 33.5325)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB289E #28AB35
analogous
#7728AB #AB289E #AB285D
triadic
#AB289E #9EAB28 #289EAB
tetradic
#AB289E #AB7728 #28AB35 #285DAB
square
#AB289E #AB7728 #28AB35 #285DAB
split-complementary
#AB289E #5DAB28 #28AB77
monochromatic
#481142 #791C70 #AB289E #D23EC3 #DE70D3

Accessibility & contrast

On white

5.95
#AB289E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB289E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB289E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB289E#FFFFFF#000000##FFFFFF
##AB289E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#556A9B
Tritanopia (blue-blind)
#B33761
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab289e;
/* rgb */ color: rgb(171, 40, 158);
/* oklch */ color: oklch(52.9% 0.207 332.6);
Tailwind
colors: {
  custom: {
    50: '#c871bb',
    500: '#ab289e',
    950: '#000000',
  },
}
SCSS
$custom: #ab289e;
$custom-light: #c871bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab289e",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 305.954,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.2071,
    "h": 332.6
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#AB289E
secondary
#6AC473
accent
#E55343
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB289E

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

Preview Lab → · Contrast checker → · Palette generator →

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