#AB49C8#AB49C8

#AB49C8 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.6% C 0.202 H 317.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB49C8
RGBrgb(171, 73, 200)
HSLhsl(286, 54%, 54%)
HSVhsv(286, 64%, 78%)
CMYKcmyk(14.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(49.00, 58.74, -48.62)
CIE-LCHlch(49.00, 76.25, 320.39°)
OKLaboklab(58.57% 0.1497 -0.1361)
OKLCHoklch(58.57% 0.202 317.7)
XYZxyz(29.6010, 17.5944, 56.4692)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49C8 #66C849
analogous
#6B49C8 #AB49C8 #C849A5
triadic
#AB49C8 #C8AB49 #49C8AB
tetradic
#AB49C8 #C86B49 #66C849 #49A5C8
square
#AB49C8 #C86B49 #66C849 #49A5C8
split-complementary
#AB49C8 #A5C849 #49C86B
monochromatic
#612374 #8931A3 #AB49C8 #C178D6 #D6A7E4

Accessibility & contrast

On white

4.65
#AB49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AB49C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49C8#FFFFFF#000000##FFFFFF
##AB49C81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECC
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#AA5F82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab49c8;
/* rgb */ color: rgb(171, 73, 200);
/* oklch */ color: oklch(58.6% 0.202 317.7);
Tailwind
colors: {
  custom: {
    50: '#c782d9',
    500: '#ab49c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab49c8;
$custom-light: #c782d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49c8",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 286.299,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58568,
    "c": 0.20228,
    "h": 317.7
  },
  "luminance": 0.17593
}

Semantic roles & 50–950 ramp

primary
#AB49C8
secondary
#A8D29B
accent
#DD4B6C
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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