#AB3AD3#AB3AD3

#AB3AD3 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.231 H 315.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB3AD3
RGBrgb(171, 58, 211)
HSLhsl(284, 63%, 53%)
HSVhsv(284, 73%, 83%)
CMYKcmyk(19%, 72.5%, 0%, 17.3%)
CIE-LABlab(47.48, 67.05, -57.38)
CIE-LCHlch(47.48, 88.25, 319.44°)
OKLaboklab(57.69% 0.1649 -0.1617)
OKLCHoklch(57.69% 0.231 315.6)
XYZxyz(30.0636, 16.3883, 63.1950)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AD3 #62D33A
analogous
#5F3AD3 #AB3AD3 #D33AAE
triadic
#AB3AD3 #D3AB3A #3AD3AB
tetradic
#AB3AD3 #D35F3A #62D33A #3AAED3
square
#AB3AD3 #D35F3A #62D33A #3AAED3
split-complementary
#AB3AD3 #AED33A #3AD35F
monochromatic
#601B78 #8726AA #AB3AD3 #C06CDE #D69EE9

Accessibility & contrast

On white

4.91
#AB3AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB3AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AD3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AD3#FFFFFF#000000##FFFFFF
##AB3AD31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#3674D0
Tritanopia (blue-blind)
#A85B84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3ad3;
/* rgb */ color: rgb(171, 58, 211);
/* oklch */ color: oklch(57.7% 0.231 315.6);
Tailwind
colors: {
  custom: {
    50: '#c87be1',
    500: '#ab3ad3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ad3;
$custom-light: #c87be1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ad3",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 211
  },
  "hsl": {
    "h": 284.314,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.23089,
    "h": 315.6
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#AB3AD3
secondary
#A5D693
accent
#E7416C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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