#AB319B#AB319B

#AB319B is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.195 H 333.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB319B
RGBrgb(171, 49, 155)
HSLhsl(308, 55%, 43%)
HSVhsv(308, 71%, 67%)
CMYKcmyk(0%, 71.3%, 9.4%, 32.9%)
CIE-LABlab(43.10, 60.46, -31.50)
CIE-LCHlch(43.10, 68.17, 332.48°)
OKLaboklab(53.52% 0.1751 -0.0862)
OKLCHoklch(53.52% 0.195 333.8)
XYZxyz(23.8095, 13.2231, 32.3023)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB319B #31AB41
analogous
#7E31AB #AB319B #AB315E
triadic
#AB319B #9BAB31 #319BAB
tetradic
#AB319B #AB7E31 #31AB41 #315EAB
square
#AB319B #AB7E31 #31AB41 #315EAB
split-complementary
#AB319B #5EAB31 #31AB7E
monochromatic
#4C1645 #7B2370 #AB319B #CC4DBB #DA7DCD

Accessibility & contrast

On white

5.76
#AB319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB319B
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB319B#FFFFFF#000000##FFFFFF
##AB319B1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#B33C62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab319b;
/* rgb */ color: rgb(171, 49, 155);
/* oklch */ color: oklch(53.5% 0.195 333.8);
Tailwind
colors: {
  custom: {
    50: '#c875b9',
    500: '#ab319b',
    950: '#000000',
  },
}
SCSS
$custom: #ab319b;
$custom-light: #c875b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab319b",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 307.869,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.1952,
    "h": 333.8
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#AB319B
secondary
#75C280
accent
#DF5D49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB319B

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

Preview Lab → · Contrast checker → · Palette generator →

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