#AB4BB5#AB4BB5

#AB4BB5 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.182 H 323.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB4BB5
RGBrgb(171, 75, 181)
HSLhsl(294, 42%, 50%)
HSVhsv(294, 59%, 71%)
CMYKcmyk(5.5%, 58.6%, 0%, 29%)
CIE-LABlab(48.30, 54.17, -38.71)
CIE-LCHlch(48.30, 66.58, 324.45°)
OKLaboklab(57.72% 0.1466 -0.1073)
OKLCHoklch(57.72% 0.182 323.8)
XYZxyz(27.6504, 17.0278, 45.5374)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BB5 #55B54B
analogous
#764BB5 #AB4BB5 #B54B8A
triadic
#AB4BB5 #B5AB4B #4BB5AB
tetradic
#AB4BB5 #B5764B #55B54B #4B8AB5
square
#AB4BB5 #B5764B #55B54B #4B8AB5
split-complementary
#AB4BB5 #8AB54B #4BB576
monochromatic
#59275F #82398A #AB4BB5 #BF76C7 #D3A2D9

Accessibility & contrast

On white

4.77
#AB4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4BB5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BB5#FFFFFF#000000##FFFFFF
##AB4BB51.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#5B77B2
Tritanopia (blue-blind)
#AE5A79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4bb5;
/* rgb */ color: rgb(171, 75, 181);
/* oklch */ color: oklch(57.7% 0.182 323.8);
Tailwind
colors: {
  custom: {
    50: '#c783cb',
    500: '#ab4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bb5;
$custom-light: #c783cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bb5",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 294.34,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5772,
    "c": 0.18162,
    "h": 323.8
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#AB4BB5
secondary
#9BC696
accent
#D25662
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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