#AB3C9D#AB3C9D

#AB3C9D is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.7% C 0.183 H 333.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB3C9D
RGBrgb(171, 60, 157)
HSLhsl(308, 48%, 45%)
HSVhsv(308, 65%, 67%)
CMYKcmyk(0%, 64.9%, 8.2%, 32.9%)
CIE-LABlab(44.70, 56.57, -30.19)
CIE-LCHlch(44.70, 64.12, 331.91°)
OKLaboklab(54.71% 0.163 -0.0826)
OKLCHoklch(54.71% 0.183 333.1)
XYZxyz(24.4963, 14.3259, 33.3667)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3C9D #3CAB4A
analogous
#823CAB #AB3C9D #AB3C65
triadic
#AB3C9D #9DAB3C #3C9DAB
tetradic
#AB3C9D #AB823C #3CAB4A #3C65AB
square
#AB3C9D #AB823C #3CAB4A #3C65AB
split-complementary
#AB3C9D #65AB3C #3CAB82
monochromatic
#501C4A #7E2C73 #AB3C9D #C65EB9 #D68BCD

Accessibility & contrast

On white

5.43
#AB3C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB3C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3C9D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3C9D#FFFFFF#000000##FFFFFF
##AB3C9D1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395FA0
Deuteranopia (green-blind)
#5E6F9A
Tritanopia (blue-blind)
#B24567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3c9d;
/* rgb */ color: rgb(171, 60, 157);
/* oklch */ color: oklch(54.7% 0.183 333.1);
Tailwind
colors: {
  custom: {
    50: '#c77aba',
    500: '#ab3c9d',
    950: '#000000',
  },
}
SCSS
$custom: #ab3c9d;
$custom-light: #c77aba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3c9d",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 307.568,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.18273,
    "h": 333.1
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#AB3C9D
secondary
#82C18A
accent
#D86150
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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