#AB3ACD#AB3ACD

#AB3ACD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.226 H 317.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB3ACD
RGBrgb(171, 58, 205)
HSLhsl(286, 60%, 52%)
HSVhsv(286, 72%, 80%)
CMYKcmyk(16.6%, 71.7%, 0%, 19.6%)
CIE-LABlab(47.10, 65.89, -54.55)
CIE-LCHlch(47.10, 85.54, 320.38°)
OKLaboklab(57.3% 0.1655 -0.1533)
OKLCHoklch(57.3% 0.226 317.2)
XYZxyz(29.3255, 16.0931, 59.3073)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ACD #5CCD3A
analogous
#623ACD #AB3ACD #CD3AA6
triadic
#AB3ACD #CDAB3A #3ACDAB
tetradic
#AB3ACD #CD623A #5CCD3A #3AA6CD
square
#AB3ACD #CD623A #5CCD3A #3AA6CD
split-complementary
#AB3ACD #A6CD3A #3ACD62
monochromatic
#5D1C70 #8529A1 #AB3ACD #C06BD9 #D59CE6

Accessibility & contrast

On white

4.98
#AB3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ACD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ACD#FFFFFF#000000##FFFFFF
##AB3ACD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#A95880
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3acd;
/* rgb */ color: rgb(171, 58, 205);
/* oklch */ color: oklch(57.3% 0.226 317.2);
Tailwind
colors: {
  custom: {
    50: '#c87add',
    500: '#ab3acd',
    950: '#000000',
  },
}
SCSS
$custom: #ab3acd;
$custom-light: #c87add;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3acd",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 286.122,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.22561,
    "h": 317.2
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#AB3ACD
secondary
#A0D291
accent
#E3456A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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