#AB48C3#AB48C3

#AB48C3 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.2% C 0.199 H 319.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AB48C3
RGBrgb(171, 72, 195)
HSLhsl(288, 51%, 52%)
HSVhsv(288, 63%, 76%)
CMYKcmyk(12.3%, 63.1%, 0%, 23.5%)
CIE-LABlab(48.55, 58.21, -46.44)
CIE-LCHlch(48.55, 74.46, 321.41°)
OKLaboklab(58.15% 0.1508 -0.1297)
OKLCHoklch(58.15% 0.199 319.3)
XYZxyz(28.9610, 17.2341, 53.4202)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48C3 #60C348
analogous
#6E48C3 #AB48C3 #C3489D
triadic
#AB48C3 #C3AB48 #48C3AB
tetradic
#AB48C3 #C36E48 #60C348 #489DC3
square
#AB48C3 #C36E48 #60C348 #489DC3
split-complementary
#AB48C3 #9DC348 #48C36E
monochromatic
#5F246D #87339B #AB48C3 #C076D2 #D5A4E1

Accessibility & contrast

On white

4.72
#AB48C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AB48C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB48C3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48C3#FFFFFF#000000##FFFFFF
##AB48C31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC7
Deuteranopia (green-blind)
#5077C0
Tritanopia (blue-blind)
#AB5D7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab48c3;
/* rgb */ color: rgb(171, 72, 195);
/* oklch */ color: oklch(58.2% 0.199 319.3);
Tailwind
colors: {
  custom: {
    50: '#c781d6',
    500: '#ab48c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab48c3;
$custom-light: #c781d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48c3",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 288.293,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.19895,
    "h": 319.3
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

primary
#AB48C3
secondary
#A3CE99
accent
#DA4E69
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB48C3

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

Preview Lab → · Contrast checker → · Palette generator →

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