#AB49C2#AB49C2

#AB49C2 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.197 H 319.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB49C2
RGBrgb(171, 73, 194)
HSLhsl(289, 50%, 52%)
HSVhsv(289, 62%, 76%)
CMYKcmyk(11.9%, 62.4%, 0%, 23.9%)
CIE-LABlab(48.66, 57.57, -45.69)
CIE-LCHlch(48.66, 73.50, 321.56°)
OKLaboklab(58.21% 0.1496 -0.1276)
OKLCHoklch(58.21% 0.197 319.6)
XYZxyz(28.9135, 17.3194, 52.8484)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49C2 #60C249
analogous
#6F49C2 #AB49C2 #C2499D
triadic
#AB49C2 #C2AB49 #49C2AB
tetradic
#AB49C2 #C26F49 #60C249 #499DC2
square
#AB49C2 #C26F49 #60C249 #499DC2
split-complementary
#AB49C2 #9DC249 #49C26F
monochromatic
#5F246C #87349A #AB49C2 #C077D1 #D5A5E1

Accessibility & contrast

On white

4.70
#AB49C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB49C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49C2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49C2#FFFFFF#000000##FFFFFF
##AB49C21.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#AB5D7F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab49c2;
/* rgb */ color: rgb(171, 73, 194);
/* oklch */ color: oklch(58.2% 0.197 319.6);
Tailwind
colors: {
  custom: {
    50: '#c782d5',
    500: '#ab49c2',
    950: '#000000',
  },
}
SCSS
$custom: #ab49c2;
$custom-light: #c782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49c2",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 288.595,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58212,
    "c": 0.19662,
    "h": 319.6
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#AB49C2
secondary
#A3CE99
accent
#D94E69
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB49C2

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

Preview Lab → · Contrast checker → · Palette generator →

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