#AB3ACC#AB3ACC

#AB3ACC is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.225 H 317.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB3ACC
RGBrgb(171, 58, 204)
HSLhsl(286, 59%, 51%)
HSVhsv(286, 72%, 80%)
CMYKcmyk(16.2%, 71.6%, 0%, 20%)
CIE-LABlab(47.03, 65.70, -54.07)
CIE-LCHlch(47.03, 85.09, 320.55°)
OKLaboklab(57.23% 0.1656 -0.152)
OKLCHoklch(57.23% 0.225 317.5)
XYZxyz(29.2051, 16.0449, 58.6736)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ACC #5BCC3A
analogous
#623ACC #AB3ACC #CC3AA4
triadic
#AB3ACC #CCAB3A #3ACCAB
tetradic
#AB3ACC #CC623A #5BCC3A #3AA4CC
square
#AB3ACC #CC623A #5BCC3A #3AA4CC
split-complementary
#AB3ACC #A4CC3A #3ACC62
monochromatic
#5C1D6F #8529A0 #AB3ACC #C06BD9 #D49BE5

Accessibility & contrast

On white

4.99
#AB3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ACC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ACC#FFFFFF#000000##FFFFFF
##AB3ACC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#AA5880
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3acc;
/* rgb */ color: rgb(171, 58, 204);
/* oklch */ color: oklch(57.2% 0.225 317.5);
Tailwind
colors: {
  custom: {
    50: '#c87adc',
    500: '#ab3acc',
    950: '#000000',
  },
}
SCSS
$custom: #ab3acc;
$custom-light: #c87adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3acc",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 286.438,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.22473,
    "h": 317.5
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#AB3ACC
secondary
#9FD191
accent
#E24669
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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