#AB3DA1#AB3DA1

#AB3DA1 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.0% C 0.185 H 331.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB3DA1
RGBrgb(171, 61, 161)
HSLhsl(305, 47%, 45%)
HSVhsv(305, 64%, 67%)
CMYKcmyk(0%, 64.3%, 5.8%, 32.9%)
CIE-LABlab(45.04, 56.81, -32.04)
CIE-LCHlch(45.04, 65.22, 330.58°)
OKLaboklab(55.02% 0.1622 -0.0879)
OKLCHoklch(55.02% 0.185 331.6)
XYZxyz(24.8963, 14.5705, 35.2124)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DA1 #3DAB47
analogous
#7E3DAB #AB3DA1 #AB3D6A
triadic
#AB3DA1 #A1AB3D #3DA1AB
tetradic
#AB3DA1 #AB7E3D #3DAB47 #3D6AAB
square
#AB3DA1 #AB7E3D #3DAB47 #3D6AAB
split-complementary
#AB3DA1 #6AAB3D #3DAB7E
monochromatic
#511D4C #7E2D77 #AB3DA1 #C65FBD #D68CCF

Accessibility & contrast

On white

5.37
#AB3DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB3DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DA1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DA1#FFFFFF#000000##FFFFFF
##AB3DA11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A4
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#B24869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3da1;
/* rgb */ color: rgb(171, 61, 161);
/* oklch */ color: oklch(55.0% 0.185 331.6);
Tailwind
colors: {
  custom: {
    50: '#c77abd',
    500: '#ab3da1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3da1;
$custom-light: #c77abd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3da1",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 305.455,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.18452,
    "h": 331.6
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#AB3DA1
secondary
#83C189
accent
#D75D51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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