#AB49C0#AB49C0

#AB49C0 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.195 H 320.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AB49C0
RGBrgb(171, 73, 192)
HSLhsl(289, 49%, 52%)
HSVhsv(289, 62%, 75%)
CMYKcmyk(10.9%, 62%, 0%, 24.7%)
CIE-LABlab(48.55, 57.18, -44.71)
CIE-LCHlch(48.55, 72.58, 321.98°)
OKLaboklab(58.1% 0.1496 -0.1247)
OKLCHoklch(58.1% 0.195 320.2)
XYZxyz(28.6904, 17.2301, 51.6734)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49C0 #5EC049
analogous
#7049C0 #AB49C0 #C04999
triadic
#AB49C0 #C0AB49 #49C0AB
tetradic
#AB49C0 #C07049 #5EC049 #4999C0
square
#AB49C0 #C07049 #5EC049 #4999C0
split-complementary
#AB49C0 #99C049 #49C070
monochromatic
#5E256A #863497 #AB49C0 #C076D0 #D5A4DF

Accessibility & contrast

On white

4.72
#AB49C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AB49C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49C0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49C0#FFFFFF#000000##FFFFFF
##AB49C01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC4
Deuteranopia (green-blind)
#5377BD
Tritanopia (blue-blind)
#AC5C7E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab49c0;
/* rgb */ color: rgb(171, 73, 192);
/* oklch */ color: oklch(58.1% 0.195 320.2);
Tailwind
colors: {
  custom: {
    50: '#c782d3',
    500: '#ab49c0',
    950: '#000000',
  },
}
SCSS
$custom: #ab49c0;
$custom-light: #c782d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49c0",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 192
  },
  "hsl": {
    "h": 289.412,
    "s": 48.571,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.19474,
    "h": 320.2
  },
  "luminance": 0.17229
}

Semantic roles & 50–950 ramp

primary
#AB49C0
secondary
#A2CC98
accent
#D85068
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB49C0

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

Preview Lab → · Contrast checker → · Palette generator →

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