#AB49C7#AB49C7

#AB49C7 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.5% C 0.201 H 318.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB49C7
RGBrgb(171, 73, 199)
HSLhsl(287, 53%, 53%)
HSVhsv(287, 63%, 78%)
CMYKcmyk(14.1%, 63.3%, 0%, 22%)
CIE-LABlab(48.94, 58.54, -48.13)
CIE-LCHlch(48.94, 75.79, 320.57°)
OKLaboklab(58.51% 0.1497 -0.1347)
OKLCHoklch(58.51% 0.201 318)
XYZxyz(29.4845, 17.5478, 55.8557)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49C7 #65C749
analogous
#6C49C7 #AB49C7 #C749A4
triadic
#AB49C7 #C7AB49 #49C7AB
tetradic
#AB49C7 #C76C49 #65C749 #49A4C7
square
#AB49C7 #C76C49 #65C749 #49A4C7
split-complementary
#AB49C7 #A4C749 #49C76C
monochromatic
#612372 #8832A1 #AB49C7 #C178D5 #D6A7E4

Accessibility & contrast

On white

4.66
#AB49C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AB49C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49C7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49C7#FFFFFF#000000##FFFFFF
##AB49C71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#4E77C4
Tritanopia (blue-blind)
#AA5F82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab49c7;
/* rgb */ color: rgb(171, 73, 199);
/* oklch */ color: oklch(58.5% 0.201 318.0);
Tailwind
colors: {
  custom: {
    50: '#c782d8',
    500: '#ab49c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab49c7;
$custom-light: #c782d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49c7",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 286.667,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.20133,
    "h": 318
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#AB49C7
secondary
#A7D19B
accent
#DC4B6C
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB49C7

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

Preview Lab → · Contrast checker → · Palette generator →

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