#AB3D9D#AB3D9D

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

Color values

HEX#AB3D9D
RGBrgb(171, 61, 157)
HSLhsl(308, 47%, 45%)
HSVhsv(308, 64%, 67%)
CMYKcmyk(0%, 64.3%, 8.2%, 32.9%)
CIE-LABlab(44.85, 56.16, -29.96)
CIE-LCHlch(44.85, 63.65, 331.92°)
OKLaboklab(54.82% 0.1618 -0.0819)
OKLCHoklch(54.82% 0.181 333.1)
XYZxyz(24.5492, 14.4316, 33.3844)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3D9D #3DAB4B
analogous
#823DAB #AB3D9D #AB3D66
triadic
#AB3D9D #9DAB3D #3D9DAB
tetradic
#AB3D9D #AB823D #3DAB4B #3D66AB
square
#AB3D9D #AB823D #3DAB4B #3D66AB
split-complementary
#AB3D9D #66AB3D #3DAB82
monochromatic
#511D4A #7E2D74 #AB3D9D #C65FB9 #D68CCD

Accessibility & contrast

On white

5.40
#AB3D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB3D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3D9D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3D9D#FFFFFF#000000##FFFFFF
##AB3D9D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#5E709A
Tritanopia (blue-blind)
#B24667
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3d9d;
/* rgb */ color: rgb(171, 61, 157);
/* oklch */ color: oklch(54.8% 0.181 333.1);
Tailwind
colors: {
  custom: {
    50: '#c77aba',
    500: '#ab3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #ab3d9d;
$custom-light: #c77aba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3d9d",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 307.636,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54817,
    "c": 0.18135,
    "h": 333.1
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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