#AB49D9#AB49D9

#AB49D9 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.219 H 313.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB49D9
RGBrgb(171, 73, 217)
HSLhsl(281, 65%, 57%)
HSVhsv(281, 66%, 85%)
CMYKcmyk(21.2%, 66.4%, 0%, 14.9%)
CIE-LABlab(50.02, 62.18, -56.73)
CIE-LCHlch(50.02, 84.17, 317.63°)
OKLaboklab(59.63% 0.149 -0.1598)
OKLCHoklch(59.63% 0.219 313)
XYZxyz(31.6993, 18.4337, 67.5204)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49D9 #77D949
analogous
#6349D9 #AB49D9 #D949BF
triadic
#AB49D9 #D9AB49 #49D9AB
tetradic
#AB49D9 #D96349 #77D949 #49BFD9
square
#AB49D9 #D96349 #77D949 #49BFD9
split-complementary
#AB49D9 #BFD949 #49D963
monochromatic
#681D8B #8D28BD #AB49D9 #C27CE4 #DAAEEE

Accessibility & contrast

On white

4.48
#AB49D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AB49D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49D9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49D9#FFFFFF#000000##000000
##AB49D91.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#A6668B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab49d9;
/* rgb */ color: rgb(171, 73, 217);
/* oklch */ color: oklch(59.6% 0.219 313.0);
Tailwind
colors: {
  custom: {
    50: '#c883e5',
    500: '#ab49d9',
    950: '#000000',
  },
}
SCSS
$custom: #ab49d9;
$custom-light: #c883e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49d9",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 280.833,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59628,
    "c": 0.21852,
    "h": 313
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#AB49D9
secondary
#B4DCA2
accent
#E83F75
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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