#AB3CAC#AB3CAC

#AB3CAC is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.195 H 327.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB3CAC
RGBrgb(171, 60, 172)
HSLhsl(299, 48%, 45%)
HSVhsv(299, 65%, 67%)
CMYKcmyk(0.6%, 65.1%, 0%, 32.5%)
CIE-LABlab(45.46, 59.08, -37.91)
CIE-LCHlch(45.46, 70.20, 327.31°)
OKLaboklab(55.51% 0.1642 -0.1048)
OKLCHoklch(55.51% 0.195 327.4)
XYZxyz(25.8564, 14.8699, 40.5300)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CAC #3DAC3C
analogous
#733CAC #AB3CAC #AC3C75
triadic
#AB3CAC #ACAB3C #3CACAB
tetradic
#AB3CAC #AC733C #3DAC3C #3C75AC
square
#AB3CAC #AC733C #3DAC3C #3C75AC
split-complementary
#AB3CAC #75AC3C #3CAC73
monochromatic
#511C51 #7E2C7F #AB3CAC #C65EC7 #D68CD7

Accessibility & contrast

On white

5.28
#AB3CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB3CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CAC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CAC#FFFFFF#000000##FFFFFF
##AB3CAC1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#B04B6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab3cac;
/* rgb */ color: rgb(171, 60, 172);
/* oklch */ color: oklch(55.5% 0.195 327.4);
Tailwind
colors: {
  custom: {
    50: '#c77ac5',
    500: '#ab3cac',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cac;
$custom-light: #c77ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cac",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 299.464,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.19483,
    "h": 327.4
  },
  "luminance": 0.14868
}

Semantic roles & 50–950 ramp

primary
#AB3CAC
secondary
#83C182
accent
#D85051
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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