#AB3BA2#AB3BA2

#AB3BA2 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.188 H 331.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB3BA2
RGBrgb(171, 59, 162)
HSLhsl(305, 49%, 45%)
HSVhsv(305, 65%, 67%)
CMYKcmyk(0%, 65.5%, 5.3%, 32.9%)
CIE-LABlab(44.80, 57.79, -33.02)
CIE-LCHlch(44.80, 66.56, 330.26°)
OKLaboklab(54.86% 0.1647 -0.0907)
OKLCHoklch(54.86% 0.188 331.2)
XYZxyz(24.8801, 14.3963, 35.6438)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BA2 #3BAB44
analogous
#7C3BAB #AB3BA2 #AB3B6A
triadic
#AB3BA2 #A2AB3B #3BA2AB
tetradic
#AB3BA2 #AB7C3B #3BAB44 #3B6AAB
square
#AB3BA2 #AB7C3B #3BAB44 #3B6AAB
split-complementary
#AB3BA2 #6AAB3B #3BAB7C
monochromatic
#501C4C #7D2B77 #AB3BA2 #C75CBE #D78AD0

Accessibility & contrast

On white

5.41
#AB3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB3BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BA2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BA2#FFFFFF#000000##FFFFFF
##AB3BA21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#5B709F
Tritanopia (blue-blind)
#B24669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3ba2;
/* rgb */ color: rgb(171, 59, 162);
/* oklch */ color: oklch(54.9% 0.188 331.2);
Tailwind
colors: {
  custom: {
    50: '#c779be',
    500: '#ab3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ba2;
$custom-light: #c779be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ba2",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 304.821,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.18801,
    "h": 331.2
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

primary
#AB3BA2
secondary
#81C186
accent
#D85B50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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