#AB4CCC#AB4CCC

#AB4CCC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.2% C 0.202 H 316.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB4CCC
RGBrgb(171, 76, 204)
HSLhsl(285, 56%, 55%)
HSVhsv(285, 63%, 80%)
CMYKcmyk(16.2%, 62.7%, 0%, 20%)
CIE-LABlab(49.72, 58.19, -49.77)
CIE-LCHlch(49.72, 76.57, 319.46°)
OKLaboklab(59.17% 0.1461 -0.1395)
OKLCHoklch(59.17% 0.202 316.3)
XYZxyz(30.2765, 18.1876, 59.0307)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CCC #6DCC4C
analogous
#6B4CCC #AB4CCC #CC4CAD
triadic
#AB4CCC #CCAB4C #4CCCAB
tetradic
#AB4CCC #CC6B4C #6DCC4C #4CADCC
square
#AB4CCC #CC6B4C #6DCC4C #4CADCC
split-complementary
#AB4CCC #ADCC4C #4CCC6B
monochromatic
#64237B #8B31AA #AB4CCC #C17CDA #D8ABE7

Accessibility & contrast

On white

4.53
#AB4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AB4CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CCC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CCC#FFFFFF#000000##000000
##AB4CCC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2070D0
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#A96385
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4ccc;
/* rgb */ color: rgb(171, 76, 204);
/* oklch */ color: oklch(59.2% 0.202 316.3);
Tailwind
colors: {
  custom: {
    50: '#c784dc',
    500: '#ab4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ccc;
$custom-light: #c784dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ccc",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 284.531,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59165,
    "c": 0.20197,
    "h": 316.3
  },
  "luminance": 0.18186
}

Semantic roles & 50–950 ramp

primary
#AB4CCC
secondary
#ADD59F
accent
#DF4970
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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