#AB3ABC#AB3ABC

#AB3ABC is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.211 H 322.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB3ABC
RGBrgb(171, 58, 188)
HSLhsl(292, 53%, 48%)
HSVhsv(292, 69%, 74%)
CMYKcmyk(9%, 69.1%, 0%, 26.3%)
CIE-LABlab(46.06, 62.71, -46.34)
CIE-LCHlch(46.06, 77.98, 323.54°)
OKLaboklab(56.23% 0.1665 -0.1293)
OKLCHoklch(56.23% 0.211 322.2)
XYZxyz(27.3838, 15.3164, 49.0812)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ABC #4BBC3A
analogous
#6A3ABC #AB3ABC #BC3A8C
triadic
#AB3ABC #BCAB3A #3ABCAB
tetradic
#AB3ABC #BC6A3A #4BBC3A #3A8CBC
square
#AB3ABC #BC6A3A #4BBC3A #3A8CBC
split-complementary
#AB3ABC #8CBC3A #3ABC6A
monochromatic
#561D5E #802C8D #AB3ABC #C164CF #D493DE

Accessibility & contrast

On white

5.17
#AB3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ABC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ABC#FFFFFF#000000##FFFFFF
##AB3ABC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C0
Deuteranopia (green-blind)
#4C71B9
Tritanopia (blue-blind)
#AD5177
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3abc;
/* rgb */ color: rgb(171, 58, 188);
/* oklch */ color: oklch(56.2% 0.211 322.2);
Tailwind
colors: {
  custom: {
    50: '#c87ad1',
    500: '#ab3abc',
    950: '#000000',
  },
}
SCSS
$custom: #ab3abc;
$custom-light: #c87ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3abc",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 292.154,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.21087,
    "h": 322.2
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#AB3ABC
secondary
#91C989
accent
#DC4C5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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