#AB389B#AB389B

#AB389B is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.187 H 333.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB389B
RGBrgb(171, 56, 155)
HSLhsl(308, 51%, 45%)
HSVhsv(308, 67%, 67%)
CMYKcmyk(0%, 67.3%, 9.4%, 32.9%)
CIE-LABlab(44.02, 57.85, -30.04)
CIE-LCHlch(44.02, 65.19, 332.56°)
OKLaboklab(54.19% 0.1675 -0.0821)
OKLCHoklch(54.19% 0.187 333.9)
XYZxyz(24.1253, 13.8548, 32.4076)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB389B #38AB48
analogous
#8238AB #AB389B #AB3862
triadic
#AB389B #9BAB38 #389BAB
tetradic
#AB389B #AB8238 #38AB48 #3862AB
square
#AB389B #AB8238 #38AB48 #3862AB
split-complementary
#AB389B #62AB38 #38AB82
monochromatic
#4F1A47 #7D2971 #AB389B #C858B9 #D786CC

Accessibility & contrast

On white

5.57
#AB389B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB389B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB389B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB389B#FFFFFF#000000##FFFFFF
##AB389B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#5D6E98
Tritanopia (blue-blind)
#B34165
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab389b;
/* rgb */ color: rgb(171, 56, 155);
/* oklch */ color: oklch(54.2% 0.187 333.9);
Tailwind
colors: {
  custom: {
    50: '#c778b9',
    500: '#ab389b',
    950: '#000000',
  },
}
SCSS
$custom: #ab389b;
$custom-light: #c778b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab389b",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 308.348,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.18653,
    "h": 333.9
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#AB389B
secondary
#7DC187
accent
#DA614E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB389B

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

Preview Lab → · Contrast checker → · Palette generator →

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