#AB3AD9#AB3AD9

#AB3AD9 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.236 H 314.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB3AD9
RGBrgb(171, 58, 217)
HSLhsl(283, 68%, 54%)
HSVhsv(283, 73%, 85%)
CMYKcmyk(21.2%, 73.3%, 0%, 14.9%)
CIE-LABlab(47.87, 68.23, -60.18)
CIE-LCHlch(47.87, 90.98, 318.59°)
OKLaboklab(58.1% 0.1641 -0.1699)
OKLCHoklch(58.1% 0.236 314)
XYZxyz(30.8299, 16.6948, 67.2306)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AD9 #68D93A
analogous
#5C3AD9 #AB3AD9 #D93AB7
triadic
#AB3AD9 #D9AB3A #3AD9AB
tetradic
#AB3AD9 #D95C3A #68D93A #3AB7D9
square
#AB3AD9 #D95C3A #68D93A #3AB7D9
split-complementary
#AB3AD9 #B7D93A #3AD95C
monochromatic
#621980 #8923B3 #AB3AD9 #C16DE3 #D7A1ED

Accessibility & contrast

On white

4.84
#AB3AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AB3AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AD9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AD9#FFFFFF#000000##FFFFFF
##AB3AD91.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#2E74D6
Tritanopia (blue-blind)
#A75D87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3ad9;
/* rgb */ color: rgb(171, 58, 217);
/* oklch */ color: oklch(58.1% 0.236 314.0);
Tailwind
colors: {
  custom: {
    50: '#c97be6',
    500: '#ab3ad9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ad9;
$custom-light: #c97be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ad9",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 217
  },
  "hsl": {
    "h": 282.642,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.23619,
    "h": 314
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#AB3AD9
secondary
#A9D995
accent
#EB3D6F
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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