#AB3AD2#AB3AD2

#AB3AD2 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.230 H 315.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3AD2
RGBrgb(171, 58, 210)
HSLhsl(285, 63%, 53%)
HSVhsv(285, 72%, 82%)
CMYKcmyk(18.6%, 72.4%, 0%, 17.6%)
CIE-LABlab(47.42, 66.86, -56.91)
CIE-LCHlch(47.42, 87.80, 319.60°)
OKLaboklab(57.63% 0.165 -0.1603)
OKLCHoklch(57.63% 0.23 315.8)
XYZxyz(29.9387, 16.3383, 62.5368)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AD2 #61D23A
analogous
#5F3AD2 #AB3AD2 #D23AAD
triadic
#AB3AD2 #D2AB3A #3AD2AB
tetradic
#AB3AD2 #D25F3A #61D23A #3AADD2
square
#AB3AD2 #D25F3A #61D23A #3AADD2
split-complementary
#AB3AD2 #ADD23A #3AD25F
monochromatic
#5F1B77 #8726A8 #AB3AD2 #C06CDD #D59EE9

Accessibility & contrast

On white

4.92
#AB3AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB3AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AD2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AD2#FFFFFF#000000##FFFFFF
##AB3AD21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#3874CF
Tritanopia (blue-blind)
#A85A83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3ad2;
/* rgb */ color: rgb(171, 58, 210);
/* oklch */ color: oklch(57.6% 0.230 315.8);
Tailwind
colors: {
  custom: {
    50: '#c87be1',
    500: '#ab3ad2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ad2;
$custom-light: #c87be1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ad2",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 284.605,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.23,
    "h": 315.8
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#AB3AD2
secondary
#A4D593
accent
#E6426C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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