#AB4ACB#AB4ACB

#AB4ACB is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.204 H 316.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB4ACB
RGBrgb(171, 74, 203)
HSLhsl(285, 55%, 54%)
HSVhsv(285, 64%, 80%)
CMYKcmyk(15.8%, 63.5%, 0%, 20.4%)
CIE-LABlab(49.34, 58.89, -49.81)
CIE-LCHlch(49.34, 77.13, 319.78°)
OKLaboklab(58.87% 0.1485 -0.1396)
OKLCHoklch(58.87% 0.204 316.8)
XYZxyz(30.0213, 17.8684, 58.3559)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4ACB #6ACB4A
analogous
#6B4ACB #AB4ACB #CB4AAB
triadic
#AB4ACB #CBAB4A #4ACBAB
tetradic
#AB4ACB #CB6B4A #6ACB4A #4AABCB
square
#AB4ACB #CB6B4A #6ACB4A #4AABCB
split-complementary
#AB4ACB #ABCB4A #4ACB6B
monochromatic
#632378 #8A30A8 #AB4ACB #C17AD9 #D7A9E6

Accessibility & contrast

On white

4.59
#AB4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AB4ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4ACB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4ACB#FFFFFF#000000##FFFFFF
##AB4ACB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#A96184
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4acb;
/* rgb */ color: rgb(171, 74, 203);
/* oklch */ color: oklch(58.9% 0.204 316.8);
Tailwind
colors: {
  custom: {
    50: '#c783db',
    500: '#ab4acb',
    950: '#000000',
  },
}
SCSS
$custom: #ab4acb;
$custom-light: #c783db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4acb",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 285.116,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58867,
    "c": 0.20376,
    "h": 316.8
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#AB4ACB
secondary
#ABD49D
accent
#DF496E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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