#AB4BCC#AB4BCC

#AB4BCC is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.0% C 0.203 H 316.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4BCC
RGBrgb(171, 75, 204)
HSLhsl(285, 56%, 55%)
HSVhsv(285, 63%, 80%)
CMYKcmyk(16.2%, 63.2%, 0%, 20%)
CIE-LABlab(49.56, 58.64, -50.03)
CIE-LCHlch(49.56, 77.08, 319.53°)
OKLaboklab(59.05% 0.1473 -0.1402)
OKLCHoklch(59.05% 0.203 316.4)
XYZxyz(30.2081, 18.0508, 59.0079)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BCC #6CCC4B
analogous
#6B4BCC #AB4BCC #CC4BAD
triadic
#AB4BCC #CCAB4B #4BCCAB
tetradic
#AB4BCC #CC6B4B #6CCC4B #4BADCC
square
#AB4BCC #CC6B4B #6CCC4B #4BADCC
split-complementary
#AB4BCC #ADCC4B #4BCC6B
monochromatic
#64237A #8B30AA #AB4BCC #C17BDA #D8AAE7

Accessibility & contrast

On white

4.56
#AB4BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AB4BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BCC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BCC#FFFFFF#000000##000000
##AB4BCC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D0
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#A96285
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4bcc;
/* rgb */ color: rgb(171, 75, 204);
/* oklch */ color: oklch(59.0% 0.203 316.4);
Tailwind
colors: {
  custom: {
    50: '#c783dc',
    500: '#ab4bcc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bcc;
$custom-light: #c783dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bcc",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 284.651,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.20335,
    "h": 316.4
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#AB4BCC
secondary
#ACD59E
accent
#DF496F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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