#AB3BC2#AB3BC2

#AB3BC2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.215 H 320.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB3BC2
RGBrgb(171, 59, 194)
HSLhsl(290, 53%, 50%)
HSVhsv(290, 70%, 76%)
CMYKcmyk(11.9%, 69.6%, 0%, 23.9%)
CIE-LABlab(46.55, 63.44, -49.05)
CIE-LCHlch(46.55, 80.19, 322.29°)
OKLaboklab(56.7% 0.1653 -0.1373)
OKLCHoklch(56.7% 0.215 320.3)
XYZxyz(28.0950, 15.6823, 52.5756)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BC2 #52C23B
analogous
#683BC2 #AB3BC2 #C23B96
triadic
#AB3BC2 #C2AB3B #3BC2AB
tetradic
#AB3BC2 #C2683B #52C23B #3B96C2
square
#AB3BC2 #C2683B #52C23B #3B96C2
split-complementary
#AB3BC2 #96C23B #3BC268
monochromatic
#581E64 #822D93 #AB3BC2 #C069D1 #D398E0

Accessibility & contrast

On white

5.08
#AB3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AB3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BC2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BC2#FFFFFF#000000##FFFFFF
##AB3BC21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#4872BF
Tritanopia (blue-blind)
#AC547A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3bc2;
/* rgb */ color: rgb(171, 59, 194);
/* oklch */ color: oklch(56.7% 0.215 320.3);
Tailwind
colors: {
  custom: {
    50: '#c87bd5',
    500: '#ab3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bc2;
$custom-light: #c87bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bc2",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 289.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56696,
    "c": 0.21484,
    "h": 320.3
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#AB3BC2
secondary
#98CB8E
accent
#DD4B64
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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