#AB4BB1#AB4BB1

#AB4BB1 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.5% C 0.178 H 325.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB4BB1
RGBrgb(171, 75, 177)
HSLhsl(296, 40%, 49%)
HSVhsv(296, 58%, 69%)
CMYKcmyk(3.4%, 57.6%, 0%, 30.6%)
CIE-LABlab(48.09, 53.43, -36.69)
CIE-LCHlch(48.09, 64.81, 325.52°)
OKLaboklab(57.51% 0.1462 -0.1014)
OKLCHoklch(57.51% 0.178 325.3)
XYZxyz(27.2459, 16.8659, 43.4068)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BB1 #51B14B
analogous
#784BB1 #AB4BB1 #B14B84
triadic
#AB4BB1 #B1AB4B #4BB1AB
tetradic
#AB4BB1 #B1784B #51B14B #4B84B1
square
#AB4BB1 #B1784B #51B14B #4B84B1
split-complementary
#AB4BB1 #84B14B #4BB178
monochromatic
#58275B #813986 #AB4BB1 #C075C4 #D3A0D7

Accessibility & contrast

On white

4.80
#AB4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AB4BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BB1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BB1#FFFFFF#000000##FFFFFF
##AB4BB11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB4
Deuteranopia (green-blind)
#5D76AE
Tritanopia (blue-blind)
#AF5877
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4bb1;
/* rgb */ color: rgb(171, 75, 177);
/* oklch */ color: oklch(57.5% 0.178 325.3);
Tailwind
colors: {
  custom: {
    50: '#c783c9',
    500: '#ab4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bb1;
$custom-light: #c783c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bb1",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 296.471,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.17796,
    "h": 325.3
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#AB4BB1
secondary
#97C394
accent
#D0575F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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