#AB3BA6#AB3BA6

#AB3BA6 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.191 H 329.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB3BA6
RGBrgb(171, 59, 166)
HSLhsl(303, 49%, 45%)
HSVhsv(303, 65%, 67%)
CMYKcmyk(0%, 65.5%, 2.9%, 32.9%)
CIE-LABlab(45.00, 58.46, -35.08)
CIE-LCHlch(45.00, 68.18, 329.04°)
OKLaboklab(55.07% 0.165 -0.0966)
OKLCHoklch(55.07% 0.191 329.6)
XYZxyz(25.2413, 14.5408, 37.5462)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BA6 #3BAB40
analogous
#783BAB #AB3BA6 #AB3B6E
triadic
#AB3BA6 #A6AB3B #3BA6AB
tetradic
#AB3BA6 #AB783B #3BAB40 #3B6EAB
square
#AB3BA6 #AB783B #3BAB40 #3B6EAB
split-complementary
#AB3BA6 #6EAB3B #3BAB78
monochromatic
#501C4E #7D2B7A #AB3BA6 #C75CC2 #D78AD3

Accessibility & contrast

On white

5.37
#AB3BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB3BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BA6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BA6#FFFFFF#000000##FFFFFF
##AB3BA61.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#B1486B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3ba6;
/* rgb */ color: rgb(171, 59, 166);
/* oklch */ color: oklch(55.1% 0.191 329.6);
Tailwind
colors: {
  custom: {
    50: '#c77ac1',
    500: '#ab3ba6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ba6;
$custom-light: #c77ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ba6",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 302.679,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55074,
    "c": 0.19122,
    "h": 329.6
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#AB3BA6
secondary
#81C184
accent
#D85650
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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