#AB389E#AB389E

#AB389E is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.189 H 332.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB389E
RGBrgb(171, 56, 158)
HSLhsl(307, 51%, 45%)
HSVhsv(307, 67%, 67%)
CMYKcmyk(0%, 67.3%, 7.6%, 32.9%)
CIE-LABlab(44.17, 58.33, -31.61)
CIE-LCHlch(44.17, 66.35, 331.55°)
OKLaboklab(54.34% 0.1678 -0.0866)
OKLCHoklch(54.34% 0.189 332.7)
XYZxyz(24.3804, 13.9568, 33.7510)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB389E #38AB45
analogous
#7F38AB #AB389E #AB3864
triadic
#AB389E #9EAB38 #389EAB
tetradic
#AB389E #AB7F38 #38AB45 #3864AB
square
#AB389E #AB7F38 #38AB45 #3864AB
split-complementary
#AB389E #64AB38 #38AB7F
monochromatic
#4F1A49 #7D2973 #AB389E #C858BC #D786CE

Accessibility & contrast

On white

5.54
#AB389E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AB389E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB389E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB389E#FFFFFF#000000##FFFFFF
##AB389E1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#B24366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab389e;
/* rgb */ color: rgb(171, 56, 158);
/* oklch */ color: oklch(54.3% 0.189 332.7);
Tailwind
colors: {
  custom: {
    50: '#c778bb',
    500: '#ab389e',
    950: '#000000',
  },
}
SCSS
$custom: #ab389e;
$custom-light: #c778bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab389e",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 306.783,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.18882,
    "h": 332.7
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

primary
#AB389E
secondary
#7DC185
accent
#DA5E4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB389E

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

Preview Lab → · Contrast checker → · Palette generator →

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