#AB49BE#AB49BE

#AB49BE is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.193 H 320.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB49BE
RGBrgb(171, 73, 190)
HSLhsl(290, 47%, 52%)
HSVhsv(290, 62%, 75%)
CMYKcmyk(10%, 61.6%, 0%, 25.5%)
CIE-LABlab(48.44, 56.79, -43.73)
CIE-LCHlch(48.44, 71.68, 322.41°)
OKLaboklab(57.98% 0.1495 -0.1218)
OKLCHoklch(57.98% 0.193 320.8)
XYZxyz(28.4703, 17.1421, 50.5143)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49BE #5CBE49
analogous
#7149BE #AB49BE #BE4997
triadic
#AB49BE #BEAB49 #49BEAB
tetradic
#AB49BE #BE7149 #5CBE49 #4997BE
square
#AB49BE #BE7149 #5CBE49 #4997BE
split-complementary
#AB49BE #97BE49 #49BE71
monochromatic
#5D2568 #853595 #AB49BE #C076CE #D5A3DE

Accessibility & contrast

On white

4.74
#AB49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB49BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49BE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49BE#FFFFFF#000000##FFFFFF
##AB49BE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#5477BB
Tritanopia (blue-blind)
#AC5C7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab49be;
/* rgb */ color: rgb(171, 73, 190);
/* oklch */ color: oklch(58.0% 0.193 320.8);
Tailwind
colors: {
  custom: {
    50: '#c782d2',
    500: '#ab49be',
    950: '#000000',
  },
}
SCSS
$custom: #ab49be;
$custom-light: #c782d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49be",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 290.256,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.19288,
    "h": 320.8
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

primary
#AB49BE
secondary
#A0CB98
accent
#D75167
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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