#AB48B7#AB48B7

#AB48B7 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.188 H 323.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB48B7
RGBrgb(171, 72, 183)
HSLhsl(294, 44%, 50%)
HSVhsv(294, 61%, 72%)
CMYKcmyk(6.6%, 60.7%, 0%, 28.2%)
CIE-LABlab(47.90, 55.92, -40.51)
CIE-LCHlch(47.90, 69.05, 324.08°)
OKLaboklab(57.46% 0.1505 -0.1125)
OKLCHoklch(57.46% 0.188 323.2)
XYZxyz(27.6584, 16.7130, 46.5596)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48B7 #54B748
analogous
#7448B7 #AB48B7 #B7488B
triadic
#AB48B7 #B7AB48 #48B7AB
tetradic
#AB48B7 #B77448 #54B748 #488BB7
square
#AB48B7 #B77448 #54B748 #488BB7
split-complementary
#AB48B7 #8BB748 #48B774
monochromatic
#59255F #82378B #AB48B7 #BF74C8 #D3A0DA

Accessibility & contrast

On white

4.84
#AB48B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AB48B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB48B7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48B7#FFFFFF#000000##FFFFFF
##AB48B71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#5876B4
Tritanopia (blue-blind)
#AE5879
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab48b7;
/* rgb */ color: rgb(171, 72, 183);
/* oklch */ color: oklch(57.5% 0.188 323.2);
Tailwind
colors: {
  custom: {
    50: '#c781cd',
    500: '#ab48b7',
    950: '#000000',
  },
}
SCSS
$custom: #ab48b7;
$custom-light: #c781cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48b7",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 293.514,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.18786,
    "h": 323.2
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#AB48B7
secondary
#9AC695
accent
#D35562
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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