#AB3BCC#AB3BCC

#AB3BCC is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.224 H 317.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB3BCC
RGBrgb(171, 59, 204)
HSLhsl(286, 59%, 52%)
HSVhsv(286, 71%, 80%)
CMYKcmyk(16.2%, 71.1%, 0%, 20%)
CIE-LABlab(47.17, 65.33, -53.86)
CIE-LCHlch(47.17, 84.67, 320.50°)
OKLaboklab(57.33% 0.1646 -0.1513)
OKLCHoklch(57.33% 0.224 317.4)
XYZxyz(29.2561, 16.1467, 58.6906)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BCC #5CCC3B
analogous
#633BCC #AB3BCC #CC3BA5
triadic
#AB3BCC #CCAB3B #3BCCAB
tetradic
#AB3BCC #CC633B #5CCC3B #3BA5CC
square
#AB3BCC #CC633B #5CCC3B #3BA5CC
split-complementary
#AB3BCC #A5CC3B #3BCC63
monochromatic
#5D1D70 #852AA0 #AB3BCC #C06CD9 #D59CE5

Accessibility & contrast

On white

4.97
#AB3BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AB3BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BCC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BCC#FFFFFF#000000##FFFFFF
##AB3BCC1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#AA5880
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3bcc;
/* rgb */ color: rgb(171, 59, 204);
/* oklch */ color: oklch(57.3% 0.224 317.4);
Tailwind
colors: {
  custom: {
    50: '#c87bdc',
    500: '#ab3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bcc;
$custom-light: #c87bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bcc",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 286.345,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57329,
    "c": 0.22359,
    "h": 317.4
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#AB3BCC
secondary
#A0D192
accent
#E24669
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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