#AB3CCC#AB3CCC

#AB3CCC is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.222 H 317.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB3CCC
RGBrgb(171, 60, 204)
HSLhsl(286, 59%, 52%)
HSVhsv(286, 71%, 80%)
CMYKcmyk(16.2%, 70.6%, 0%, 20%)
CIE-LABlab(47.30, 64.94, -53.64)
CIE-LCHlch(47.30, 84.23, 320.44°)
OKLaboklab(57.43% 0.1636 -0.1507)
OKLCHoklch(57.43% 0.222 317.3)
XYZxyz(29.3079, 16.2505, 58.7079)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CCC #5DCC3C
analogous
#633CCC #AB3CCC #CC3CA5
triadic
#AB3CCC #CCAB3C #3CCCAB
tetradic
#AB3CCC #CC633C #5DCC3C #3CA5CC
square
#AB3CCC #CC633C #5DCC3C #3CA5CC
split-complementary
#AB3CCC #A5CC3C #3CCC63
monochromatic
#5D1D70 #862AA1 #AB3CCC #C06DD9 #D59DE5

Accessibility & contrast

On white

4.94
#AB3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AB3CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CCC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CCC#FFFFFF#000000##FFFFFF
##AB3CCC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#AA5980
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3ccc;
/* rgb */ color: rgb(171, 60, 204);
/* oklch */ color: oklch(57.4% 0.222 317.3);
Tailwind
colors: {
  custom: {
    50: '#c87bdc',
    500: '#ab3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ccc;
$custom-light: #c87bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ccc",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 286.25,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.22244,
    "h": 317.3
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#AB3CCC
secondary
#A1D192
accent
#E2466A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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