#AB3BAD#AB3BAD

#AB3BAD is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.5% C 0.197 H 327.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB3BAD
RGBrgb(171, 59, 173)
HSLhsl(299, 49%, 45%)
HSVhsv(299, 66%, 68%)
CMYKcmyk(1.2%, 65.9%, 0%, 32.2%)
CIE-LABlab(45.37, 59.66, -38.64)
CIE-LCHlch(45.37, 71.08, 327.06°)
OKLaboklab(55.46% 0.1654 -0.1069)
OKLCHoklch(55.46% 0.197 327.1)
XYZxyz(25.9010, 14.8047, 41.0204)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BAD #3DAD3B
analogous
#723BAD #AB3BAD #AD3B76
triadic
#AB3BAD #ADAB3B #3BADAB
tetradic
#AB3BAD #AD723B #3DAD3B #3B76AD
square
#AB3BAD #AD723B #3DAD3B #3B76AD
split-complementary
#AB3BAD #76AD3B #3BAD72
monochromatic
#511C52 #7E2B7F #AB3BAD #C65DC8 #D68BD7

Accessibility & contrast

On white

5.30
#AB3BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB3BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BAD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BAD#FFFFFF#000000##FFFFFF
##AB3BAD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#5670AA
Tritanopia (blue-blind)
#B04B6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3bad;
/* rgb */ color: rgb(171, 59, 173);
/* oklch */ color: oklch(55.5% 0.197 327.1);
Tailwind
colors: {
  custom: {
    50: '#c77ac6',
    500: '#ab3bad',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bad;
$custom-light: #c77ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bad",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 298.947,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.19696,
    "h": 327.1
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#AB3BAD
secondary
#83C282
accent
#D94F52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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