#AB3D9C#AB3D9C

#AB3D9C is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.8% C 0.181 H 333.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB3D9C
RGBrgb(171, 61, 156)
HSLhsl(308, 47%, 45%)
HSVhsv(308, 64%, 67%)
CMYKcmyk(0%, 64.3%, 8.8%, 32.9%)
CIE-LABlab(44.80, 55.99, -29.43)
CIE-LCHlch(44.80, 63.26, 332.27°)
OKLaboklab(54.77% 0.1617 -0.0804)
OKLCHoklch(54.77% 0.181 333.6)
XYZxyz(24.4642, 14.3976, 32.9366)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3D9C #3DAB4C
analogous
#833DAB #AB3D9C #AB3D65
triadic
#AB3D9C #9CAB3D #3D9CAB
tetradic
#AB3D9C #AB833D #3DAB4C #3D65AB
square
#AB3D9C #AB833D #3DAB4C #3D65AB
split-complementary
#AB3D9C #65AB3D #3DAB83
monochromatic
#511D4A #7E2D73 #AB3D9C #C65FB8 #D68CCC

Accessibility & contrast

On white

5.41
#AB3D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB3D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3D9C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3D9C#FFFFFF#000000##FFFFFF
##AB3D9C1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609F
Deuteranopia (green-blind)
#5F7099
Tritanopia (blue-blind)
#B34667
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3d9c;
/* rgb */ color: rgb(171, 61, 156);
/* oklch */ color: oklch(54.8% 0.181 333.6);
Tailwind
colors: {
  custom: {
    50: '#c77ab9',
    500: '#ab3d9c',
    950: '#000000',
  },
}
SCSS
$custom: #ab3d9c;
$custom-light: #c77ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3d9c",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 308.182,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.18057,
    "h": 333.6
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#AB3D9C
secondary
#83C18B
accent
#D76351
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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