#AB48C7#AB48C7

#AB48C7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.4% C 0.203 H 318.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB48C7
RGBrgb(171, 72, 199)
HSLhsl(287, 53%, 53%)
HSVhsv(287, 64%, 78%)
CMYKcmyk(14.1%, 63.8%, 0%, 22%)
CIE-LABlab(48.78, 58.99, -48.39)
CIE-LCHlch(48.78, 76.30, 320.64°)
OKLaboklab(58.39% 0.1508 -0.1354)
OKLCHoklch(58.39% 0.203 318.1)
XYZxyz(29.4193, 17.4174, 55.8340)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48C7 #64C748
analogous
#6B48C7 #AB48C7 #C748A3
triadic
#AB48C7 #C7AB48 #48C7AB
tetradic
#AB48C7 #C76B48 #64C748 #48A3C7
square
#AB48C7 #C76B48 #64C748 #48A3C7
split-complementary
#AB48C7 #A3C748 #48C76B
monochromatic
#602372 #8831A1 #AB48C7 #C177D5 #D6A6E4

Accessibility & contrast

On white

4.68
#AB48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AB48C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB48C7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48C7#FFFFFF#000000##FFFFFF
##AB48C71.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6DCB
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#AA5E81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab48c7;
/* rgb */ color: rgb(171, 72, 199);
/* oklch */ color: oklch(58.4% 0.203 318.1);
Tailwind
colors: {
  custom: {
    50: '#c781d8',
    500: '#ab48c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab48c7;
$custom-light: #c781d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48c7",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 286.772,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.2027,
    "h": 318.1
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#AB48C7
secondary
#A6D19A
accent
#DD4B6B
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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