#AB4CCB#AB4CCB

#AB4CCB is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.1% C 0.201 H 316.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB4CCB
RGBrgb(171, 76, 203)
HSLhsl(285, 55%, 55%)
HSVhsv(285, 63%, 80%)
CMYKcmyk(15.8%, 62.6%, 0%, 20.4%)
CIE-LABlab(49.67, 57.99, -49.28)
CIE-LCHlch(49.67, 76.10, 319.64°)
OKLaboklab(59.11% 0.1461 -0.138)
OKLCHoklch(59.11% 0.201 316.6)
XYZxyz(30.1569, 18.1397, 58.4011)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CCB #6CCB4C
analogous
#6C4CCB #AB4CCB #CB4CAB
triadic
#AB4CCB #CBAB4C #4CCBAB
tetradic
#AB4CCB #CB6C4C #6CCB4C #4CABCB
square
#AB4CCB #CB6C4C #6CCB4C #4CABCB
split-complementary
#AB4CCB #ABCB4C #4CCB6C
monochromatic
#642379 #8B31A9 #AB4CCB #C17BD9 #D8ABE7

Accessibility & contrast

On white

4.54
#AB4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AB4CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CCB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CCB#FFFFFF#000000##000000
##AB4CCB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#A96385
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4ccb;
/* rgb */ color: rgb(171, 76, 203);
/* oklch */ color: oklch(59.1% 0.201 316.6);
Tailwind
colors: {
  custom: {
    50: '#c784db',
    500: '#ab4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ccb;
$custom-light: #c784db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ccb",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 284.882,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.201,
    "h": 316.6
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#AB4CCB
secondary
#ACD49F
accent
#DE496F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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