#AB44CC#AB44CC

#AB44CC is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.2% C 0.213 H 316.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB44CC
RGBrgb(171, 68, 204)
HSLhsl(285, 57%, 53%)
HSVhsv(285, 67%, 80%)
CMYKcmyk(16.2%, 66.7%, 0%, 20%)
CIE-LABlab(48.45, 61.71, -51.80)
CIE-LCHlch(48.45, 80.57, 319.99°)
OKLaboklab(58.25% 0.1552 -0.1454)
OKLCHoklch(58.25% 0.213 316.9)
XYZxyz(29.7592, 17.1530, 58.8583)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44CC #65CC44
analogous
#6744CC #AB44CC #CC44A9
triadic
#AB44CC #CCAB44 #44CCAB
tetradic
#AB44CC #CC6744 #65CC44 #44A9CC
square
#AB44CC #CC6744 #65CC44 #44A9CC
split-complementary
#AB44CC #A9CC44 #44CC67
monochromatic
#612076 #882DA6 #AB44CC #C174D9 #D6A4E6

Accessibility & contrast

On white

4.74
#AB44CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB44CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB44CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44CC#FFFFFF#000000##FFFFFF
##AB44CC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#A95E83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab44cc;
/* rgb */ color: rgb(171, 68, 204);
/* oklch */ color: oklch(58.2% 0.213 316.9);
Tailwind
colors: {
  custom: {
    50: '#c87fdc',
    500: '#ab44cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab44cc;
$custom-light: #c87fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44cc",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 285.441,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.21266,
    "h": 316.9
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#AB44CC
secondary
#A7D399
accent
#E0476D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB44CC

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

Preview Lab → · Contrast checker → · Palette generator →

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