#AB4BB4#AB4BB4

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

Color values

HEX#AB4BB4
RGBrgb(171, 75, 180)
HSLhsl(295, 41%, 50%)
HSVhsv(295, 58%, 71%)
CMYKcmyk(5%, 58.3%, 0%, 29.4%)
CIE-LABlab(48.24, 53.98, -38.21)
CIE-LCHlch(48.24, 66.14, 324.71°)
OKLaboklab(57.67% 0.1465 -0.1058)
OKLCHoklch(57.67% 0.181 324.2)
XYZxyz(27.5482, 16.9869, 44.9989)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BB4 #54B44B
analogous
#764BB4 #AB4BB4 #B44B89
triadic
#AB4BB4 #B4AB4B #4BB4AB
tetradic
#AB4BB4 #B4764B #54B44B #4B89B4
square
#AB4BB4 #B4764B #54B44B #4B89B4
split-complementary
#AB4BB4 #89B44B #4BB476
monochromatic
#59275E #823989 #AB4BB4 #BF76C6 #D3A1D8

Accessibility & contrast

On white

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

On black

4.40
#AB4BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB4BB4#FFFFFF#000000##FFFFFF
##AB4BB41.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#AE5978
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4bb4;
/* rgb */ color: rgb(171, 75, 180);
/* oklch */ color: oklch(57.7% 0.181 324.2);
Tailwind
colors: {
  custom: {
    50: '#c783cb',
    500: '#ab4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bb4;
$custom-light: #c783cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bb4",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 294.857,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.1807,
    "h": 324.2
  },
  "luminance": 0.16985
}

Semantic roles & 50–950 ramp

primary
#AB4BB4
secondary
#9AC596
accent
#D15761
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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