#AB3CB9#AB3CB9

#AB3CB9 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.206 H 323.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB3CB9
RGBrgb(171, 60, 185)
HSLhsl(293, 51%, 48%)
HSVhsv(293, 68%, 73%)
CMYKcmyk(7.6%, 67.6%, 0%, 27.5%)
CIE-LABlab(46.17, 61.39, -44.42)
CIE-LCHlch(46.17, 75.77, 324.11°)
OKLaboklab(56.25% 0.1645 -0.1238)
OKLCHoklch(56.25% 0.206 323)
XYZxyz(27.1666, 15.3940, 47.4299)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CB9 #4AB93C
analogous
#6C3CB9 #AB3CB9 #B93C88
triadic
#AB3CB9 #B9AB3C #3CB9AB
tetradic
#AB3CB9 #B96C3C #4AB93C #3C88B9
square
#AB3CB9 #B96C3C #4AB93C #3C88B9
split-complementary
#AB3CB9 #88B93C #3CB96C
monochromatic
#561E5D #802D8B #AB3CB9 #C165CD #D493DC

Accessibility & contrast

On white

5.15
#AB3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB3CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CB9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CB9#FFFFFF#000000##FFFFFF
##AB3CB91.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A65BD
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#AE5176
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3cb9;
/* rgb */ color: rgb(171, 60, 185);
/* oklch */ color: oklch(56.3% 0.206 323.0);
Tailwind
colors: {
  custom: {
    50: '#c77bce',
    500: '#ab3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cb9;
$custom-light: #c77bce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cb9",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 293.28,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.20583,
    "h": 323
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#AB3CB9
secondary
#90C789
accent
#DA4D5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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