#AB49D7#AB49D7

#AB49D7 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.217 H 313.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB49D7
RGBrgb(171, 73, 215)
HSLhsl(281, 64%, 56%)
HSVhsv(281, 66%, 84%)
CMYKcmyk(20.5%, 66%, 0%, 15.7%)
CIE-LABlab(49.89, 61.77, -55.79)
CIE-LCHlch(49.89, 83.23, 317.91°)
OKLaboklab(59.5% 0.1491 -0.1571)
OKLCHoklch(59.5% 0.217 313.5)
XYZxyz(31.4408, 18.3303, 66.1587)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49D7 #75D749
analogous
#6449D7 #AB49D7 #D749BC
triadic
#AB49D7 #D7AB49 #49D7AB
tetradic
#AB49D7 #D76449 #75D749 #49BCD7
square
#AB49D7 #D76449 #75D749 #49BCD7
split-complementary
#AB49D7 #BCD749 #49D764
monochromatic
#671E88 #8D29BA #AB49D7 #C27BE2 #D9ADED

Accessibility & contrast

On white

4.50
#AB49D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AB49D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB49D7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49D7#FFFFFF#000000##000000
##AB49D71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#4079D4
Tritanopia (blue-blind)
#A7658A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab49d7;
/* rgb */ color: rgb(171, 73, 215);
/* oklch */ color: oklch(59.5% 0.217 313.5);
Tailwind
colors: {
  custom: {
    50: '#c882e4',
    500: '#ab49d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab49d7;
$custom-light: #c882e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49d7",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 281.408,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.2166,
    "h": 313.5
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#AB49D7
secondary
#B3DBA1
accent
#E74174
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB49D7

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

Preview Lab → · Contrast checker → · Palette generator →

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