#AB4BB2#AB4BB2

#AB4BB2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.6% C 0.179 H 324.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AB4BB2
RGBrgb(171, 75, 178)
HSLhsl(296, 41%, 50%)
HSVhsv(296, 58%, 70%)
CMYKcmyk(3.9%, 57.9%, 0%, 30.2%)
CIE-LABlab(48.14, 53.61, -37.20)
CIE-LCHlch(48.14, 65.25, 325.24°)
OKLaboklab(57.56% 0.1463 -0.1029)
OKLCHoklch(57.56% 0.179 324.9)
XYZxyz(27.3459, 16.9060, 43.9336)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BB2 #52B24B
analogous
#774BB2 #AB4BB2 #B24B86
triadic
#AB4BB2 #B2AB4B #4BB2AB
tetradic
#AB4BB2 #B2774B #52B24B #4B86B2
square
#AB4BB2 #B2774B #52B24B #4B86B2
split-complementary
#AB4BB2 #86B24B #4BB277
monochromatic
#58275C #823987 #AB4BB2 #C075C5 #D3A0D7

Accessibility & contrast

On white

4.79
#AB4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AB4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BB2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BB2#FFFFFF#000000##FFFFFF
##AB4BB21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#5D76AF
Tritanopia (blue-blind)
#AF5977
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4bb2;
/* rgb */ color: rgb(171, 75, 178);
/* oklch */ color: oklch(57.6% 0.179 324.9);
Tailwind
colors: {
  custom: {
    50: '#c783c9',
    500: '#ab4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bb2;
$custom-light: #c783c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bb2",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 295.922,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.17887,
    "h": 324.9
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#AB4BB2
secondary
#98C495
accent
#D1575F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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