#AB49D8#AB49D8

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

Color values

HEX#AB49D8
RGBrgb(171, 73, 216)
HSLhsl(281, 65%, 57%)
HSVhsv(281, 66%, 85%)
CMYKcmyk(20.8%, 66.2%, 0%, 15.3%)
CIE-LABlab(49.96, 61.98, -56.26)
CIE-LCHlch(49.96, 83.70, 317.77°)
OKLaboklab(59.56% 0.1491 -0.1585)
OKLCHoklch(59.56% 0.218 313.3)
XYZxyz(31.5696, 18.3818, 66.8375)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49D8 #76D849
analogous
#6449D8 #AB49D8 #D849BE
triadic
#AB49D8 #D8AB49 #49D8AB
tetradic
#AB49D8 #D86449 #76D849 #49BED8
square
#AB49D8 #D86449 #76D849 #49BED8
split-complementary
#AB49D8 #BED849 #49D864
monochromatic
#671D89 #8D28BC #AB49D8 #C27BE3 #DAAEEE

Accessibility & contrast

On white

4.49
#AB49D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AB49D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49D8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49D8#FFFFFF#000000##000000
##AB49D81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#A6658B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab49d8;
/* rgb */ color: rgb(171, 73, 216);
/* oklch */ color: oklch(59.6% 0.218 313.3);
Tailwind
colors: {
  custom: {
    50: '#c883e5',
    500: '#ab49d8',
    950: '#000000',
  },
}
SCSS
$custom: #ab49d8;
$custom-light: #c883e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49d8",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 281.119,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.21756,
    "h": 313.3
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#AB49D8
secondary
#B4DCA1
accent
#E84075
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49D8

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

Preview Lab → · Contrast checker → · Palette generator →

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