#AB49BB#AB49BB

#AB49BB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.190 H 321.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB49BB
RGBrgb(171, 73, 187)
HSLhsl(292, 46%, 51%)
HSVhsv(292, 61%, 73%)
CMYKcmyk(8.6%, 61%, 0%, 26.7%)
CIE-LABlab(48.28, 56.22, -42.24)
CIE-LCHlch(48.28, 70.32, 323.08°)
OKLaboklab(57.81% 0.1494 -0.1175)
OKLCHoklch(57.81% 0.19 321.8)
XYZxyz(28.1458, 17.0123, 48.8052)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49BB #59BB49
analogous
#7249BB #AB49BB #BB4992
triadic
#AB49BB #BBAB49 #49BBAB
tetradic
#AB49BB #BB7249 #59BB49 #4992BB
square
#AB49BB #BB7249 #59BB49 #4992BB
split-complementary
#AB49BB #92BB49 #49BB72
monochromatic
#5B2564 #843691 #AB49BB #C076CC #D4A2DC

Accessibility & contrast

On white

4.77
#AB49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49BB#FFFFFF#000000##FFFFFF
##AB49BB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBF
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#AD5B7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab49bb;
/* rgb */ color: rgb(171, 73, 187);
/* oklch */ color: oklch(57.8% 0.190 321.8);
Tailwind
colors: {
  custom: {
    50: '#c782d0',
    500: '#ab49bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab49bb;
$custom-light: #c782d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49bb",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 291.579,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.19009,
    "h": 321.8
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#AB49BB
secondary
#9EC997
accent
#D55365
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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