#AB3BA7#AB3BA7

#AB3BA7 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.1% C 0.192 H 329.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB3BA7
RGBrgb(171, 59, 167)
HSLhsl(302, 49%, 45%)
HSVhsv(302, 65%, 67%)
CMYKcmyk(0%, 65.5%, 2.3%, 32.9%)
CIE-LABlab(45.05, 58.63, -35.59)
CIE-LCHlch(45.05, 68.59, 328.74°)
OKLaboklab(55.13% 0.1651 -0.0981)
OKLCHoklch(55.13% 0.192 329.3)
XYZxyz(25.3334, 14.5777, 38.0312)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BA7 #3BAB3F
analogous
#773BAB #AB3BA7 #AB3B6F
triadic
#AB3BA7 #A7AB3B #3BA7AB
tetradic
#AB3BA7 #AB773B #3BAB3F #3B6FAB
square
#AB3BA7 #AB773B #3BAB3F #3B6FAB
split-complementary
#AB3BA7 #6FAB3B #3BAB77
monochromatic
#501C4E #7D2B7B #AB3BA7 #C75CC3 #D78AD4

Accessibility & contrast

On white

5.36
#AB3BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB3BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BA7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BA7#FFFFFF#000000##FFFFFF
##AB3BA71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AA
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#B1496C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3ba7;
/* rgb */ color: rgb(171, 59, 167);
/* oklch */ color: oklch(55.1% 0.192 329.3);
Tailwind
colors: {
  custom: {
    50: '#c77ac1',
    500: '#ab3ba7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ba7;
$custom-light: #c77ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ba7",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 302.143,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.19203,
    "h": 329.3
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#AB3BA7
secondary
#81C183
accent
#D85450
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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