#AB319A#AB319A

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

Color values

HEX#AB319A
RGBrgb(171, 49, 154)
HSLhsl(308, 55%, 43%)
HSVhsv(308, 71%, 67%)
CMYKcmyk(0%, 71.3%, 9.9%, 32.9%)
CIE-LABlab(43.05, 60.31, -30.97)
CIE-LCHlch(43.05, 67.79, 332.81°)
OKLaboklab(53.47% 0.175 -0.0847)
OKLCHoklch(53.47% 0.194 334.2)
XYZxyz(23.7258, 13.1897, 31.8619)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB319A #31AB42
analogous
#7F31AB #AB319A #AB315D
triadic
#AB319A #9AAB31 #319AAB
tetradic
#AB319A #AB7F31 #31AB42 #315DAB
square
#AB319A #AB7F31 #31AB42 #315DAB
split-complementary
#AB319A #5DAB31 #31AB7F
monochromatic
#4C1644 #7B236F #AB319A #CC4DBA #DA7DCD

Accessibility & contrast

On white

5.77
#AB319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB319A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB319A#FFFFFF#000000##FFFFFF
##AB319A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#B33B62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab319a;
/* rgb */ color: rgb(171, 49, 154);
/* oklch */ color: oklch(53.5% 0.194 334.2);
Tailwind
colors: {
  custom: {
    50: '#c874b8',
    500: '#ab319a',
    950: '#000000',
  },
}
SCSS
$custom: #ab319a;
$custom-light: #c874b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab319a",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 308.361,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.19446,
    "h": 334.2
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB319A

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

Preview Lab → · Contrast checker → · Palette generator →

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