#AB3CC8#AB3CC8

#AB3CC8 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.219 H 318.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB3CC8
RGBrgb(171, 60, 200)
HSLhsl(288, 56%, 51%)
HSVhsv(288, 70%, 78%)
CMYKcmyk(14.5%, 70%, 0%, 21.6%)
CIE-LABlab(47.05, 64.18, -51.73)
CIE-LCHlch(47.05, 82.43, 321.13°)
OKLaboklab(57.17% 0.1639 -0.1451)
OKLCHoklch(57.17% 0.219 318.5)
XYZxyz(28.8344, 16.0611, 56.2136)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CC8 #59C83C
analogous
#653CC8 #AB3CC8 #C83C9F
triadic
#AB3CC8 #C8AB3C #3CC8AB
tetradic
#AB3CC8 #C8653C #59C83C #3C9FC8
square
#AB3CC8 #C8653C #59C83C #3C9FC8
split-complementary
#AB3CC8 #9FC83C #3CC865
monochromatic
#5B1E6B #842C9B #AB3CC8 #C06CD5 #D49BE3

Accessibility & contrast

On white

4.99
#AB3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB3CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CC8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CC8#FFFFFF#000000##FFFFFF
##AB3CC81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#4373C5
Tritanopia (blue-blind)
#AA577E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3cc8;
/* rgb */ color: rgb(171, 60, 200);
/* oklch */ color: oklch(57.2% 0.219 318.5);
Tailwind
colors: {
  custom: {
    50: '#c87bd9',
    500: '#ab3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cc8;
$custom-light: #c87bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cc8",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 287.571,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.21891,
    "h": 318.5
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#AB3CC8
secondary
#9ECF91
accent
#DF4968
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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