#AB3AD5#AB3AD5

#AB3AD5 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.233 H 315.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB3AD5
RGBrgb(171, 58, 213)
HSLhsl(284, 65%, 53%)
HSVhsv(284, 73%, 84%)
CMYKcmyk(19.7%, 72.8%, 0%, 16.5%)
CIE-LABlab(47.61, 67.44, -58.32)
CIE-LCHlch(47.61, 89.16, 319.15°)
OKLaboklab(57.83% 0.1646 -0.1644)
OKLCHoklch(57.83% 0.233 315)
XYZxyz(30.3159, 16.4892, 64.5237)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AD5 #64D53A
analogous
#5D3AD5 #AB3AD5 #D53AB1
triadic
#AB3AD5 #D5AB3A #3AD5AB
tetradic
#AB3AD5 #D55D3A #64D53A #3AB1D5
square
#AB3AD5 #D55D3A #64D53A #3AB1D5
split-complementary
#AB3AD5 #B1D53A #3AD55D
monochromatic
#601A7A #8825AD #AB3AD5 #C16CE0 #D69FEB

Accessibility & contrast

On white

4.89
#AB3AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AB3AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AD5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AD5#FFFFFF#000000##FFFFFF
##AB3AD51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#3474D2
Tritanopia (blue-blind)
#A85B85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3ad5;
/* rgb */ color: rgb(171, 58, 213);
/* oklch */ color: oklch(57.8% 0.233 315.0);
Tailwind
colors: {
  custom: {
    50: '#c87be3',
    500: '#ab3ad5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ad5;
$custom-light: #c87be3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ad5",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 213
  },
  "hsl": {
    "h": 283.742,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.23265,
    "h": 315
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#AB3AD5
secondary
#A6D794
accent
#E8406D
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A15
muted
#827C84

Preview Lab

Preview with #AB3AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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