#AB4BB3#AB4BB3

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

Color values

HEX#AB4BB3
RGBrgb(171, 75, 179)
HSLhsl(295, 41%, 50%)
HSVhsv(295, 58%, 70%)
CMYKcmyk(4.5%, 58.1%, 0%, 29.8%)
CIE-LABlab(48.19, 53.80, -37.71)
CIE-LCHlch(48.19, 65.69, 324.97°)
OKLaboklab(57.61% 0.1464 -0.1044)
OKLCHoklch(57.61% 0.18 324.5)
XYZxyz(27.4467, 16.9463, 44.4643)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BB3 #53B34B
analogous
#774BB3 #AB4BB3 #B34B87
triadic
#AB4BB3 #B3AB4B #4BB3AB
tetradic
#AB4BB3 #B3774B #53B34B #4B87B3
square
#AB4BB3 #B3774B #53B34B #4B87B3
split-complementary
#AB4BB3 #87B34B #4BB377
monochromatic
#59275D #823988 #AB4BB3 #BF76C5 #D3A1D8

Accessibility & contrast

On white

4.78
#AB4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB4BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BB3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BB3#FFFFFF#000000##FFFFFF
##AB4BB31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB6
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#AE5978
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4bb3;
/* rgb */ color: rgb(171, 75, 179);
/* oklch */ color: oklch(57.6% 0.180 324.5);
Tailwind
colors: {
  custom: {
    50: '#c783ca',
    500: '#ab4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bb3;
$custom-light: #c783ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bb3",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 295.385,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.17979,
    "h": 324.5
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#AB4BB3
secondary
#99C495
accent
#D15760
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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