#AB3199#AB3199

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

Color values

HEX#AB3199
RGBrgb(171, 49, 153)
HSLhsl(309, 55%, 43%)
HSVhsv(309, 71%, 67%)
CMYKcmyk(0%, 71.3%, 10.5%, 32.9%)
CIE-LABlab(43.00, 60.15, -30.45)
CIE-LCHlch(43.00, 67.42, 333.15°)
OKLaboklab(53.41% 0.1749 -0.0832)
OKLCHoklch(53.41% 0.194 334.6)
XYZxyz(23.6429, 13.1565, 31.4251)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3199 #31AB43
analogous
#8031AB #AB3199 #AB315C
triadic
#AB3199 #99AB31 #3199AB
tetradic
#AB3199 #AB8031 #31AB43 #315CAB
square
#AB3199 #AB8031 #31AB43 #315CAB
split-complementary
#AB3199 #5CAB31 #31AB80
monochromatic
#4C1644 #7B236E #AB3199 #CC4DB9 #DA7DCC

Accessibility & contrast

On white

5.78
#AB3199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB3199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3199
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3199#FFFFFF#000000##FFFFFF
##AB31991.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#B33B61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3199;
/* rgb */ color: rgb(171, 49, 153);
/* oklch */ color: oklch(53.4% 0.194 334.6);
Tailwind
colors: {
  custom: {
    50: '#c874b7',
    500: '#ab3199',
    950: '#000000',
  },
}
SCSS
$custom: #ab3199;
$custom-light: #c874b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3199",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 308.852,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.19373,
    "h": 334.6
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#AB3199
secondary
#75C281
accent
#DF5F49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3199

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

Preview Lab → · Contrast checker → · Palette generator →

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