#AB4CC8#AB4CC8

#AB4CC8 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.198 H 317.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB4CC8
RGBrgb(171, 76, 200)
HSLhsl(286, 53%, 54%)
HSVhsv(286, 62%, 78%)
CMYKcmyk(14.5%, 62%, 0%, 21.6%)
CIE-LABlab(49.49, 57.38, -47.83)
CIE-LCHlch(49.49, 74.70, 320.19°)
OKLaboklab(58.93% 0.1461 -0.1338)
OKLCHoklch(58.93% 0.198 317.5)
XYZxyz(29.8029, 17.9981, 56.5365)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CC8 #69C84C
analogous
#6D4CC8 #AB4CC8 #C84CA7
triadic
#AB4CC8 #C8AB4C #4CC8AB
tetradic
#AB4CC8 #C86D4C #69C84C #4CA7C8
square
#AB4CC8 #C86D4C #69C84C #4CA7C8
split-complementary
#AB4CC8 #A7C84C #4CC86D
monochromatic
#622475 #8A32A4 #AB4CC8 #C17BD6 #D7AAE5

Accessibility & contrast

On white

4.57
#AB4CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AB4CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CC8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CC8#FFFFFF#000000##000000
##AB4CC81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2670CC
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#AA6183
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4cc8;
/* rgb */ color: rgb(171, 76, 200);
/* oklch */ color: oklch(58.9% 0.198 317.5);
Tailwind
colors: {
  custom: {
    50: '#c784d9',
    500: '#ab4cc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cc8;
$custom-light: #c784d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cc8",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 285.968,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58925,
    "c": 0.19811,
    "h": 317.5
  },
  "luminance": 0.17997
}

Semantic roles & 50–950 ramp

primary
#AB4CC8
secondary
#AAD29E
accent
#DC4B6D
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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