#AB49AF#AB49AF

#AB49AF is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.179 H 326.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB49AF
RGBrgb(171, 73, 175)
HSLhsl(298, 41%, 49%)
HSVhsv(298, 58%, 69%)
CMYKcmyk(2.3%, 58.3%, 0%, 31.4%)
CIE-LABlab(47.65, 53.99, -36.22)
CIE-LCHlch(47.65, 65.01, 326.14°)
OKLaboklab(57.15% 0.1486 -0.1)
OKLCHoklch(57.15% 0.179 326.1)
XYZxyz(26.9145, 16.5197, 42.3201)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49AF #4DAF49
analogous
#7849AF #AB49AF #AF4980
triadic
#AB49AF #AFAB49 #49AFAB
tetradic
#AB49AF #AF7849 #4DAF49 #4980AF
square
#AB49AF #AF7849 #4DAF49 #4980AF
split-complementary
#AB49AF #80AF49 #49AF78
monochromatic
#572559 #813784 #AB49AF #C171C4 #D49CD6

Accessibility & contrast

On white

4.88
#AB49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AB49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49AF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49AF#FFFFFF#000000##FFFFFF
##AB49AF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#AF5675
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab49af;
/* rgb */ color: rgb(171, 73, 175);
/* oklch */ color: oklch(57.1% 0.179 326.1);
Tailwind
colors: {
  custom: {
    50: '#c781c7',
    500: '#ab49af',
    950: '#000000',
  },
}
SCSS
$custom: #ab49af;
$custom-light: #c781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49af",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 297.647,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5715,
    "c": 0.17916,
    "h": 326.1
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#AB49AF
secondary
#93C291
accent
#D1575C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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