#AB3BAC#AB3BAC

#AB3BAC is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.196 H 327.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB3BAC
RGBrgb(171, 59, 172)
HSLhsl(299, 49%, 45%)
HSVhsv(299, 66%, 67%)
CMYKcmyk(0.6%, 65.7%, 0%, 32.5%)
CIE-LABlab(45.31, 59.48, -38.14)
CIE-LCHlch(45.31, 70.66, 327.33°)
OKLaboklab(55.4% 0.1654 -0.1055)
OKLCHoklch(55.4% 0.196 327.5)
XYZxyz(25.8046, 14.7661, 40.5127)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BAC #3CAC3B
analogous
#723BAC #AB3BAC #AC3B74
triadic
#AB3BAC #ACAB3B #3BACAB
tetradic
#AB3BAC #AC723B #3CAC3B #3B74AC
square
#AB3BAC #AC723B #3CAC3B #3B74AC
split-complementary
#AB3BAC #74AC3B #3BAC72
monochromatic
#501C51 #7E2B7E #AB3BAC #C65DC7 #D68AD7

Accessibility & contrast

On white

5.31
#AB3BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AB3BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BAC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BAC#FFFFFF#000000##FFFFFF
##AB3BAC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#B04B6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3bac;
/* rgb */ color: rgb(171, 59, 172);
/* oklch */ color: oklch(55.4% 0.196 327.5);
Tailwind
colors: {
  custom: {
    50: '#c77ac5',
    500: '#ab3bac',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bac;
$custom-light: #c77ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bac",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 299.469,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55402,
    "c": 0.19613,
    "h": 327.5
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#AB3BAC
secondary
#82C181
accent
#D84F51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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