#AB3BB1#AB3BB1

#AB3BB1 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.7% C 0.200 H 325.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB3BB1
RGBrgb(171, 59, 177)
HSLhsl(297, 50%, 46%)
HSVhsv(297, 67%, 69%)
CMYKcmyk(3.4%, 66.7%, 0%, 30.6%)
CIE-LABlab(45.58, 60.35, -40.66)
CIE-LCHlch(45.58, 72.77, 326.03°)
OKLaboklab(55.68% 0.1655 -0.1128)
OKLCHoklch(55.68% 0.2 325.7)
XYZxyz(26.2938, 14.9618, 43.0894)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BB1 #41B13B
analogous
#703BB1 #AB3BB1 #B13B7C
triadic
#AB3BB1 #B1AB3B #3BB1AB
tetradic
#AB3BB1 #B1703B #41B13B #3B7CB1
square
#AB3BB1 #B1703B #41B13B #3B7CB1
split-complementary
#AB3BB1 #7CB13B #3BB170
monochromatic
#521C55 #7F2C83 #AB3BB1 #C45FCA #D58DD9

Accessibility & contrast

On white

5.26
#AB3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BB1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BB1#FFFFFF#000000##FFFFFF
##AB3BB11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B4
Deuteranopia (green-blind)
#5371AE
Tritanopia (blue-blind)
#AF4D71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3bb1;
/* rgb */ color: rgb(171, 59, 177);
/* oklch */ color: oklch(55.7% 0.200 325.7);
Tailwind
colors: {
  custom: {
    50: '#c77ac9',
    500: '#ab3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bb1;
$custom-light: #c77ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bb1",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 296.949,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.20029,
    "h": 325.7
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#AB3BB1
secondary
#87C484
accent
#DA4E55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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