#AB3D99#AB3D99

#AB3D99 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.6% C 0.178 H 334.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB3D99
RGBrgb(171, 61, 153)
HSLhsl(310, 47%, 45%)
HSVhsv(310, 64%, 67%)
CMYKcmyk(0%, 64.3%, 10.5%, 32.9%)
CIE-LABlab(44.66, 55.51, -27.86)
CIE-LCHlch(44.66, 62.11, 333.35°)
OKLaboklab(54.62% 0.1613 -0.0759)
OKLCHoklch(54.62% 0.178 334.8)
XYZxyz(24.2133, 14.2973, 31.6152)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3D99 #3DAB4F
analogous
#863DAB #AB3D99 #AB3D62
triadic
#AB3D99 #99AB3D #3D99AB
tetradic
#AB3D99 #AB863D #3DAB4F #3D62AB
square
#AB3D99 #AB863D #3DAB4F #3D62AB
split-complementary
#AB3D99 #62AB3D #3DAB86
monochromatic
#511D48 #7E2D71 #AB3D99 #C65FB5 #D68CCA

Accessibility & contrast

On white

5.44
#AB3D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB3D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3D99
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3D99#FFFFFF#000000##FFFFFF
##AB3D991.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#607096
Tritanopia (blue-blind)
#B34465
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3d99;
/* rgb */ color: rgb(171, 61, 153);
/* oklch */ color: oklch(54.6% 0.178 334.8);
Tailwind
colors: {
  custom: {
    50: '#c77ab7',
    500: '#ab3d99',
    950: '#000000',
  },
}
SCSS
$custom: #ab3d99;
$custom-light: #c77ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3d99",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 309.818,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.17826,
    "h": 334.8
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#AB3D99
secondary
#83C18D
accent
#D76751
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3D99

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

Preview Lab → · Contrast checker → · Palette generator →

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