#AB4BBC#AB4BBC

#AB4BBC is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.188 H 321.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4BBC
RGBrgb(171, 75, 188)
HSLhsl(291, 46%, 52%)
HSVhsv(291, 60%, 74%)
CMYKcmyk(9%, 60.1%, 0%, 26.3%)
CIE-LABlab(48.66, 55.49, -42.21)
CIE-LCHlch(48.66, 69.72, 322.74°)
OKLaboklab(58.11% 0.147 -0.1174)
OKLCHoklch(58.11% 0.188 321.4)
XYZxyz(28.3867, 17.3223, 49.4155)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BBC #5CBC4B
analogous
#734BBC #AB4BBC #BC4B95
triadic
#AB4BBC #BCAB4B #4BBCAB
tetradic
#AB4BBC #BC734B #5CBC4B #4B95BC
square
#AB4BBC #BC734B #5CBC4B #4B95BC
split-complementary
#AB4BBC #95BC4B #4BBC73
monochromatic
#5D2666 #853793 #AB4BBC #C078CD #D5A4DD

Accessibility & contrast

On white

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

On black

4.46
#AB4BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB4BBC#FFFFFF#000000##FFFFFF
##AB4BBC1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#AD5C7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4bbc;
/* rgb */ color: rgb(171, 75, 188);
/* oklch */ color: oklch(58.1% 0.188 321.4);
Tailwind
colors: {
  custom: {
    50: '#c783d0',
    500: '#ab4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bbc;
$custom-light: #c783d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bbc",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 290.973,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.18813,
    "h": 321.4
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#AB4BBC
secondary
#A0CA99
accent
#D55266
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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