#AB3AC9#AB3AC9

#AB3AC9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.222 H 318.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AB3AC9
RGBrgb(171, 58, 201)
HSLhsl(287, 57%, 51%)
HSVhsv(287, 71%, 79%)
CMYKcmyk(14.9%, 71.1%, 0%, 21.2%)
CIE-LABlab(46.85, 65.13, -52.64)
CIE-LCHlch(46.85, 83.75, 321.05°)
OKLaboklab(57.04% 0.1658 -0.1478)
OKLCHoklch(57.04% 0.222 318.3)
XYZxyz(28.8488, 15.9024, 56.7969)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AC9 #58C93A
analogous
#643AC9 #AB3AC9 #C93A9F
triadic
#AB3AC9 #C9AB3A #3AC9AB
tetradic
#AB3AC9 #C9643A #58C93A #3A9FC9
square
#AB3AC9 #C9643A #58C93A #3A9FC9
split-complementary
#AB3AC9 #9FC93A #3AC964
monochromatic
#5B1D6B #842B9B #AB3AC9 #BF6AD6 #D49AE3

Accessibility & contrast

On white

5.02
#AB3AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB3AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AC9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AC9#FFFFFF#000000##FFFFFF
##AB3AC91.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#4173C6
Tritanopia (blue-blind)
#AA567E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3ac9;
/* rgb */ color: rgb(171, 58, 201);
/* oklch */ color: oklch(57.0% 0.222 318.3);
Tailwind
colors: {
  custom: {
    50: '#c87ada',
    500: '#ab3ac9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ac9;
$custom-light: #c87ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ac9",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 287.413,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.22211,
    "h": 318.3
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#AB3AC9
secondary
#9DCF90
accent
#E04868
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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