#AB3799#AB3799

#AB3799 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.186 H 334.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AB3799
RGBrgb(171, 55, 153)
HSLhsl(309, 51%, 44%)
HSVhsv(309, 68%, 67%)
CMYKcmyk(0%, 67.8%, 10.5%, 32.9%)
CIE-LABlab(43.79, 57.93, -29.21)
CIE-LCHlch(43.79, 64.88, 333.24°)
OKLaboklab(53.99% 0.1684 -0.0797)
OKLCHoklch(53.99% 0.186 334.7)
XYZxyz(23.9108, 13.6922, 31.5144)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3799 #37AB49
analogous
#8337AB #AB3799 #AB375F
triadic
#AB3799 #99AB37 #3799AB
tetradic
#AB3799 #AB8337 #37AB49 #375FAB
square
#AB3799 #AB8337 #37AB49 #375FAB
split-complementary
#AB3799 #5FAB37 #37AB83
monochromatic
#4E1946 #7D2870 #AB3799 #C956B7 #D885CB

Accessibility & contrast

On white

5.62
#AB3799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB3799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3799
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3799#FFFFFF#000000##FFFFFF
##AB37991.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#B34063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3799;
/* rgb */ color: rgb(171, 55, 153);
/* oklch */ color: oklch(54.0% 0.186 334.7);
Tailwind
colors: {
  custom: {
    50: '#c777b7',
    500: '#ab3799',
    950: '#000000',
  },
}
SCSS
$custom: #ab3799;
$custom-light: #c777b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3799",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 309.31,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.18632,
    "h": 334.7
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#AB3799
secondary
#7CC187
accent
#DB634D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3799

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

Preview Lab → · Contrast checker → · Palette generator →

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