#AB48BF#AB48BF

#AB48BF is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.195 H 320.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB48BF
RGBrgb(171, 72, 191)
HSLhsl(290, 48%, 52%)
HSVhsv(290, 62%, 75%)
CMYKcmyk(10.5%, 62.3%, 0%, 25.1%)
CIE-LABlab(48.33, 57.43, -44.48)
CIE-LCHlch(48.33, 72.64, 322.24°)
OKLaboklab(57.92% 0.1508 -0.124)
OKLCHoklch(57.92% 0.195 320.6)
XYZxyz(28.5148, 17.0556, 51.0702)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB48BF #5CBF48
analogous
#7048BF #AB48BF #BF4898
triadic
#AB48BF #BFAB48 #48BFAB
tetradic
#AB48BF #BF7048 #5CBF48 #4898BF
square
#AB48BF #BF7048 #5CBF48 #4898BF
split-complementary
#AB48BF #98BF48 #48BF70
monochromatic
#5D2468 #853496 #AB48BF #C075CF #D5A3DF

Accessibility & contrast

On white

4.76
#AB48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB48BF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB48BF#FFFFFF#000000##FFFFFF
##AB48BF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#AC5B7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab48bf;
/* rgb */ color: rgb(171, 72, 191);
/* oklch */ color: oklch(57.9% 0.195 320.6);
Tailwind
colors: {
  custom: {
    50: '#c781d3',
    500: '#ab48bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab48bf;
$custom-light: #c781d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab48bf",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 289.916,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.19522,
    "h": 320.6
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#AB48BF
secondary
#A0CC97
accent
#D85067
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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