#AB3AB1#AB3AB1

#AB3AB1 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.6% C 0.202 H 325.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB3AB1
RGBrgb(171, 58, 177)
HSLhsl(297, 51%, 46%)
HSVhsv(297, 67%, 69%)
CMYKcmyk(3.4%, 67.2%, 0%, 30.6%)
CIE-LABlab(45.44, 60.75, -40.88)
CIE-LCHlch(45.44, 73.22, 326.06°)
OKLaboklab(55.58% 0.1666 -0.1134)
OKLCHoklch(55.58% 0.202 325.7)
XYZxyz(26.2429, 14.8600, 43.0725)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AB1 #40B13A
analogous
#6F3AB1 #AB3AB1 #B13A7B
triadic
#AB3AB1 #B1AB3A #3AB1AB
tetradic
#AB3AB1 #B16F3A #40B13A #3A7BB1
square
#AB3AB1 #B16F3A #40B13A #3A7BB1
split-complementary
#AB3AB1 #7BB13A #3AB16F
monochromatic
#521C55 #7E2B83 #AB3AB1 #C55ECA #D58CD9

Accessibility & contrast

On white

5.29
#AB3AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB3AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AB1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AB1#FFFFFF#000000##FFFFFF
##AB3AB11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B4
Deuteranopia (green-blind)
#5370AE
Tritanopia (blue-blind)
#AF4C71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3ab1;
/* rgb */ color: rgb(171, 58, 177);
/* oklch */ color: oklch(55.6% 0.202 325.7);
Tailwind
colors: {
  custom: {
    50: '#c779c9',
    500: '#ab3ab1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ab1;
$custom-light: #c779c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ab1",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 296.975,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.20155,
    "h": 325.7
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#AB3AB1
secondary
#86C483
accent
#DA4E55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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