#AB49CE#AB49CE

#AB49CE is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.208 H 316.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB49CE
RGBrgb(171, 73, 206)
HSLhsl(284, 58%, 55%)
HSVhsv(284, 65%, 81%)
CMYKcmyk(17%, 64.6%, 0%, 19.2%)
CIE-LABlab(49.35, 59.94, -51.51)
CIE-LCHlch(49.35, 79.03, 319.33°)
OKLaboklab(58.93% 0.1495 -0.1445)
OKLCHoklch(58.93% 0.208 316)
XYZxyz(30.3160, 17.8804, 60.2349)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49CE #6CCE49
analogous
#6949CE #AB49CE #CE49AE
triadic
#AB49CE #CEAB49 #49CEAB
tetradic
#AB49CE #CE6949 #6CCE49 #49AECE
square
#AB49CE #CE6949 #6CCE49 #49AECE
split-complementary
#AB49CE #AECE49 #49CE69
monochromatic
#64217B #8B2EAC #AB49CE #C179DB #D8A9E8

Accessibility & contrast

On white

4.59
#AB49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AB49CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49CE#FFFFFF#000000##FFFFFF
##AB49CE1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#A96285
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab49ce;
/* rgb */ color: rgb(171, 73, 206);
/* oklch */ color: oklch(58.9% 0.208 316.0);
Tailwind
colors: {
  custom: {
    50: '#c782de',
    500: '#ab49ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab49ce;
$custom-light: #c782de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49ce",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 284.211,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.20798,
    "h": 316
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#AB49CE
secondary
#ACD59D
accent
#E1476F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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