#AB49BA#AB49BA

#AB49BA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.189 H 322.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB49BA
RGBrgb(171, 73, 186)
HSLhsl(292, 45%, 51%)
HSVhsv(292, 61%, 73%)
CMYKcmyk(8.1%, 60.8%, 0%, 27.1%)
CIE-LABlab(48.22, 56.03, -41.74)
CIE-LCHlch(48.22, 69.87, 323.31°)
OKLaboklab(57.75% 0.1494 -0.1161)
OKLCHoklch(57.75% 0.189 322.2)
XYZxyz(28.0391, 16.9696, 48.2434)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49BA #58BA49
analogous
#7249BA #AB49BA #BA4991
triadic
#AB49BA #BAAB49 #49BAAB
tetradic
#AB49BA #BA7249 #58BA49 #4991BA
square
#AB49BA #BA7249 #58BA49 #4991BA
split-complementary
#AB49BA #91BA49 #49BA72
monochromatic
#5B2663 #84368F #AB49BA #BF75CB #D4A2DC

Accessibility & contrast

On white

4.78
#AB49BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB49BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49BA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49BA#FFFFFF#000000##FFFFFF
##AB49BA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#AD5A7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab49ba;
/* rgb */ color: rgb(171, 73, 186);
/* oklch */ color: oklch(57.8% 0.189 322.2);
Tailwind
colors: {
  custom: {
    50: '#c782cf',
    500: '#ab49ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab49ba;
$custom-light: #c782cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49ba",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 292.035,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57753,
    "c": 0.18917,
    "h": 322.2
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#AB49BA
secondary
#9DC896
accent
#D55364
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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