#AB49B2#AB49B2

#AB49B2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.182 H 325.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB49B2
RGBrgb(171, 73, 178)
HSLhsl(296, 42%, 49%)
HSVhsv(296, 59%, 70%)
CMYKcmyk(3.9%, 59%, 0%, 30.2%)
CIE-LABlab(47.80, 54.54, -37.74)
CIE-LCHlch(47.80, 66.32, 325.32°)
OKLaboklab(57.31% 0.1489 -0.1044)
OKLCHoklch(57.31% 0.182 325)
XYZxyz(27.2124, 16.6389, 43.8891)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49B2 #50B249
analogous
#7749B2 #AB49B2 #B24985
triadic
#AB49B2 #B2AB49 #49B2AB
tetradic
#AB49B2 #B27749 #50B249 #4985B2
square
#AB49B2 #B27749 #50B249 #4985B2
split-complementary
#AB49B2 #85B249 #49B277
monochromatic
#58255B #813787 #AB49B2 #C073C5 #D39ED7

Accessibility & contrast

On white

4.85
#AB49B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AB49B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49B2#FFFFFF#000000##FFFFFF
##AB49B21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#5B76AF
Tritanopia (blue-blind)
#AF5777
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab49b2;
/* rgb */ color: rgb(171, 73, 178);
/* oklch */ color: oklch(57.3% 0.182 325.0);
Tailwind
colors: {
  custom: {
    50: '#c781c9',
    500: '#ab49b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab49b2;
$custom-light: #c781c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49b2",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 296,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.18185,
    "h": 325
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#AB49B2
secondary
#96C493
accent
#D2565E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB49B2

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

Preview Lab → · Contrast checker → · Palette generator →

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