#AB49BF#AB49BF

#AB49BF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.0% C 0.194 H 320.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB49BF
RGBrgb(171, 73, 191)
HSLhsl(290, 48%, 52%)
HSVhsv(290, 62%, 75%)
CMYKcmyk(10.5%, 61.8%, 0%, 25.1%)
CIE-LABlab(48.49, 56.99, -44.22)
CIE-LCHlch(48.49, 72.13, 322.19°)
OKLaboklab(58.04% 0.1496 -0.1233)
OKLCHoklch(58.04% 0.194 320.5)
XYZxyz(28.5800, 17.1859, 51.0919)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49BF #5DBF49
analogous
#7049BF #AB49BF #BF4998
triadic
#AB49BF #BFAB49 #49BFAB
tetradic
#AB49BF #BF7049 #5DBF49 #4998BF
square
#AB49BF #BF7049 #5DBF49 #4998BF
split-complementary
#AB49BF #98BF49 #49BF70
monochromatic
#5D2569 #863596 #AB49BF #C076CF #D5A4DF

Accessibility & contrast

On white

4.73
#AB49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AB49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49BF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49BF#FFFFFF#000000##FFFFFF
##AB49BF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#5477BC
Tritanopia (blue-blind)
#AC5C7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab49bf;
/* rgb */ color: rgb(171, 73, 191);
/* oklch */ color: oklch(58.0% 0.194 320.5);
Tailwind
colors: {
  custom: {
    50: '#c782d3',
    500: '#ab49bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab49bf;
$custom-light: #c782d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49bf",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 289.831,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58038,
    "c": 0.19381,
    "h": 320.5
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#AB49BF
secondary
#A1CC98
accent
#D85067
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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