#AB3AC2#AB3AC2

#AB3AC2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.216 H 320.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB3AC2
RGBrgb(171, 58, 194)
HSLhsl(290, 54%, 49%)
HSVhsv(290, 70%, 76%)
CMYKcmyk(11.9%, 70.1%, 0%, 23.9%)
CIE-LABlab(46.42, 63.82, -49.27)
CIE-LCHlch(46.42, 80.62, 322.33°)
OKLaboklab(56.6% 0.1663 -0.1379)
OKLCHoklch(56.6% 0.216 320.3)
XYZxyz(28.0441, 15.5805, 52.5586)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3AC2 #51C23A
analogous
#673AC2 #AB3AC2 #C23A95
triadic
#AB3AC2 #C2AB3A #3AC2AB
tetradic
#AB3AC2 #C2673A #51C23A #3A95C2
square
#AB3AC2 #C2673A #51C23A #3A95C2
split-complementary
#AB3AC2 #95C23A #3AC267
monochromatic
#581E64 #812C93 #AB3AC2 #C067D2 #D397E0

Accessibility & contrast

On white

5.10
#AB3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3AC2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3AC2#FFFFFF#000000##FFFFFF
##AB3AC21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#AC537A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3ac2;
/* rgb */ color: rgb(171, 58, 194);
/* oklch */ color: oklch(56.6% 0.216 320.3);
Tailwind
colors: {
  custom: {
    50: '#c87ad5',
    500: '#ab3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ac2;
$custom-light: #c87ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ac2",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 289.853,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56599,
    "c": 0.21602,
    "h": 320.3
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#AB3AC2
secondary
#97CB8D
accent
#DD4A63
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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