#AB49D5#AB49D5

#AB49D5 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.215 H 314.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB49D5
RGBrgb(171, 73, 213)
HSLhsl(282, 63%, 56%)
HSVhsv(282, 66%, 84%)
CMYKcmyk(19.7%, 65.7%, 0%, 16.5%)
CIE-LABlab(49.77, 61.36, -54.84)
CIE-LCHlch(49.77, 82.30, 318.21°)
OKLaboklab(59.37% 0.1493 -0.1543)
OKLCHoklch(59.37% 0.215 314)
XYZxyz(31.1853, 18.2281, 64.8135)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49D5 #73D549
analogous
#6549D5 #AB49D5 #D549B9
triadic
#AB49D5 #D5AB49 #49D5AB
tetradic
#AB49D5 #D56549 #73D549 #49B9D5
square
#AB49D5 #D56549 #73D549 #49B9D5
split-complementary
#AB49D5 #B9D549 #49D565
monochromatic
#661F85 #8C2AB7 #AB49D5 #C27BE0 #D9ACEC

Accessibility & contrast

On white

4.52
#AB49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AB49D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49D5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49D5#FFFFFF#000000##000000
##AB49D51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#4279D2
Tritanopia (blue-blind)
#A76489
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab49d5;
/* rgb */ color: rgb(171, 73, 213);
/* oklch */ color: oklch(59.4% 0.215 314.0);
Tailwind
colors: {
  custom: {
    50: '#c882e3',
    500: '#ab49d5',
    950: '#000000',
  },
}
SCSS
$custom: #ab49d5;
$custom-light: #c882e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49d5",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 282,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59372,
    "c": 0.21468,
    "h": 314
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#AB49D5
secondary
#B1DAA0
accent
#E64273
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AB49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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