#AB48AF#AB48AF

#AB48AF is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.181 H 326.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB48AF
RGBrgb(171, 72, 175)
HSLhsl(298, 42%, 48%)
HSVhsv(298, 59%, 69%)
CMYKcmyk(2.3%, 58.9%, 0%, 31.4%)
CIE-LABlab(47.48, 54.45, -36.48)
CIE-LCHlch(47.48, 65.54, 326.18°)
OKLaboklab(57.03% 0.1499 -0.1008)
OKLCHoklch(57.03% 0.181 326.1)
XYZxyz(26.8493, 16.3894, 42.2984)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48AF #4CAF48
analogous
#7748AF #AB48AF #AF487F
triadic
#AB48AF #AFAB48 #48AFAB
tetradic
#AB48AF #AF7748 #4CAF48 #487FAF
square
#AB48AF #AF7748 #4CAF48 #487FAF
split-complementary
#AB48AF #7FAF48 #48AF77
monochromatic
#562458 #813684 #AB48AF #C170C4 #D49BD6

Accessibility & contrast

On white

4.91
#AB48AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB48AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB48AF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48AF#FFFFFF#000000##FFFFFF
##AB48AF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#AF5575
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab48af;
/* rgb */ color: rgb(171, 72, 175);
/* oklch */ color: oklch(57.0% 0.181 326.1);
Tailwind
colors: {
  custom: {
    50: '#c781c7',
    500: '#ab48af',
    950: '#000000',
  },
}
SCSS
$custom: #ab48af;
$custom-light: #c781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48af",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 297.67,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.18064,
    "h": 326.1
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#AB48AF
secondary
#92C290
accent
#D2565B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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