#AB49DC#AB49DC

#AB49DC is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.221 H 312.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AB49DC
RGBrgb(171, 73, 220)
HSLhsl(280, 68%, 57%)
HSVhsv(280, 67%, 86%)
CMYKcmyk(22.3%, 66.8%, 0%, 13.7%)
CIE-LABlab(50.21, 62.80, -58.13)
CIE-LCHlch(50.21, 85.58, 317.21°)
OKLaboklab(59.82% 0.1488 -0.164)
OKLCHoklch(59.82% 0.221 312.2)
XYZxyz(32.0931, 18.5912, 69.5941)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49DC #7ADC49
analogous
#6249DC #AB49DC #DC49C4
triadic
#AB49DC #DCAB49 #49DCAB
tetradic
#AB49DC #DC6249 #7ADC49 #49C4DC
square
#AB49DC #DC6249 #7ADC49 #49C4DC
split-complementary
#AB49DC #C4DC49 #49DC62
monochromatic
#691C8F #8E25C2 #AB49DC #C37CE6 #DAB0F0

Accessibility & contrast

On white

4.45
#AB49DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AB49DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49DC#FFFFFF#000000##000000
##AB49DC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#3B79D9
Tritanopia (blue-blind)
#A5678D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab49dc;
/* rgb */ color: rgb(171, 73, 220);
/* oklch */ color: oklch(59.8% 0.221 312.2);
Tailwind
colors: {
  custom: {
    50: '#c883e8',
    500: '#ab49dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab49dc;
$custom-light: #c883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49dc",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 280,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.22141,
    "h": 312.2
  },
  "luminance": 0.1859
}

Semantic roles & 50–950 ramp

primary
#AB49DC
secondary
#B7DEA3
accent
#EB3D77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49DC

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

Preview Lab → · Contrast checker → · Palette generator →

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