#AB4BBD#AB4BBD

#AB4BBD is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.189 H 321.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4BBD
RGBrgb(171, 75, 189)
HSLhsl(291, 46%, 52%)
HSVhsv(291, 60%, 74%)
CMYKcmyk(9.5%, 60.3%, 0%, 25.9%)
CIE-LABlab(48.72, 55.69, -42.70)
CIE-LCHlch(48.72, 70.18, 322.52°)
OKLaboklab(58.17% 0.147 -0.1189)
OKLCHoklch(58.17% 0.189 321)
XYZxyz(28.4949, 17.3656, 49.9852)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BBD #5DBD4B
analogous
#724BBD #AB4BBD #BD4B96
triadic
#AB4BBD #BDAB4B #4BBDAB
tetradic
#AB4BBD #BD724B #5DBD4B #4B96BD
square
#AB4BBD #BD724B #5DBD4B #4B96BD
split-complementary
#AB4BBD #96BD4B #4BBD72
monochromatic
#5D2668 #863694 #AB4BBD #C078CD #D5A5DE

Accessibility & contrast

On white

4.70
#AB4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AB4BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BBD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BBD#FFFFFF#000000##FFFFFF
##AB4BBD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC1
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#AC5D7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4bbd;
/* rgb */ color: rgb(171, 75, 189);
/* oklch */ color: oklch(58.2% 0.189 321.0);
Tailwind
colors: {
  custom: {
    50: '#c783d1',
    500: '#ab4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bbd;
$custom-light: #c783d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bbd",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 290.526,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.18907,
    "h": 321
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#AB4BBD
secondary
#A1CB99
accent
#D65267
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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