#AB3AD4#AB3AD4

#AB3AD4 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.232 H 315.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB3AD4
RGBrgb(171, 58, 212)
HSLhsl(284, 64%, 53%)
HSVhsv(284, 73%, 83%)
CMYKcmyk(19.3%, 72.6%, 0%, 16.9%)
CIE-LABlab(47.54, 67.25, -57.85)
CIE-LCHlch(47.54, 88.71, 319.30°)
OKLaboklab(57.76% 0.1647 -0.163)
OKLCHoklch(57.76% 0.232 315.3)
XYZxyz(30.1894, 16.4386, 63.8573)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AD4 #63D43A
analogous
#5E3AD4 #AB3AD4 #D43AB0
triadic
#AB3AD4 #D4AB3A #3AD4AB
tetradic
#AB3AD4 #D45E3A #63D43A #3AB0D4
square
#AB3AD4 #D45E3A #63D43A #3AB0D4
split-complementary
#AB3AD4 #B0D43A #3AD45E
monochromatic
#601A79 #8825AB #AB3AD4 #C06CDF #D69EEA

Accessibility & contrast

On white

4.90
#AB3AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AB3AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AD4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AD4#FFFFFF#000000##FFFFFF
##AB3AD41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#3574D1
Tritanopia (blue-blind)
#A85B84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3ad4;
/* rgb */ color: rgb(171, 58, 212);
/* oklch */ color: oklch(57.8% 0.232 315.3);
Tailwind
colors: {
  custom: {
    50: '#c87be2',
    500: '#ab3ad4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ad4;
$custom-light: #c87be2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ad4",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 284.026,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.23176,
    "h": 315.3
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#AB3AD4
secondary
#A5D694
accent
#E7416D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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