#AB3DB5#AB3DB5

#AB3DB5 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.1% C 0.201 H 324.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB3DB5
RGBrgb(171, 61, 181)
HSLhsl(295, 50%, 47%)
HSVhsv(295, 66%, 71%)
CMYKcmyk(5.5%, 66.3%, 0%, 29%)
CIE-LABlab(46.09, 60.27, -42.21)
CIE-LCHlch(46.09, 73.58, 324.99°)
OKLaboklab(56.12% 0.1634 -0.1173)
OKLCHoklch(56.12% 0.201 324.3)
XYZxyz(26.8031, 15.3332, 45.2549)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DB5 #47B53D
analogous
#6F3DB5 #AB3DB5 #B53D83
triadic
#AB3DB5 #B5AB3D #3DB5AB
tetradic
#AB3DB5 #B56F3D #47B53D #3D83B5
square
#AB3DB5 #B56F3D #47B53D #3D83B5
split-complementary
#AB3DB5 #83B53D #3DB56F
monochromatic
#551E59 #802E87 #AB3DB5 #C264CB #D492DA

Accessibility & contrast

On white

5.16
#AB3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AB3DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DB5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DB5#FFFFFF#000000##FFFFFF
##AB3DB51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365B9
Deuteranopia (green-blind)
#5272B2
Tritanopia (blue-blind)
#AE5074
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3db5;
/* rgb */ color: rgb(171, 61, 181);
/* oklch */ color: oklch(56.1% 0.201 324.3);
Tailwind
colors: {
  custom: {
    50: '#c77bcc',
    500: '#ab3db5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3db5;
$custom-light: #c77bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3db5",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 295,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.20112,
    "h": 324.3
  },
  "luminance": 0.15332
}

Semantic roles & 50–950 ramp

primary
#AB3DB5
secondary
#8DC588
accent
#D94F5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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