#AB3AAC#AB3AAC

#AB3AAC is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.197 H 327.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB3AAC
RGBrgb(171, 58, 172)
HSLhsl(299, 50%, 45%)
HSVhsv(299, 66%, 67%)
CMYKcmyk(0.6%, 66.3%, 0%, 32.5%)
CIE-LABlab(45.17, 59.88, -38.36)
CIE-LCHlch(45.17, 71.11, 327.35°)
OKLaboklab(55.3% 0.1665 -0.1061)
OKLCHoklch(55.3% 0.197 327.5)
XYZxyz(25.7537, 14.6643, 40.4958)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AAC #3BAC3A
analogous
#723AAC #AB3AAC #AC3A74
triadic
#AB3AAC #ACAB3A #3AACAB
tetradic
#AB3AAC #AC723A #3BAC3A #3A74AC
square
#AB3AAC #AC723A #3BAC3A #3A74AC
split-complementary
#AB3AAC #74AC3A #3AAC72
monochromatic
#501B50 #7D2B7E #AB3AAC #C75BC8 #D789D7

Accessibility & contrast

On white

5.34
#AB3AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB3AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AAC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AAC#FFFFFF#000000##FFFFFF
##AB3AAC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#B04A6E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3aac;
/* rgb */ color: rgb(171, 58, 172);
/* oklch */ color: oklch(55.3% 0.197 327.5);
Tailwind
colors: {
  custom: {
    50: '#c779c5',
    500: '#ab3aac',
    950: '#000000',
  },
}
SCSS
$custom: #ab3aac;
$custom-light: #c779c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3aac",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 172
  },
  "hsl": {
    "h": 299.474,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.553,
    "c": 0.19741,
    "h": 327.5
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#AB3AAC
secondary
#81C280
accent
#D94F50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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