#AB44CB#AB44CB

#AB44CB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.212 H 317.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB44CB
RGBrgb(171, 68, 203)
HSLhsl(286, 56%, 53%)
HSVhsv(286, 67%, 80%)
CMYKcmyk(15.8%, 66.5%, 0%, 20.4%)
CIE-LABlab(48.39, 61.51, -51.32)
CIE-LCHlch(48.39, 80.11, 320.16°)
OKLaboklab(58.19% 0.1553 -0.1439)
OKLCHoklch(58.19% 0.212 317.2)
XYZxyz(29.6396, 17.1052, 58.2287)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44CB #64CB44
analogous
#6744CB #AB44CB #CB44A7
triadic
#AB44CB #CBAB44 #44CBAB
tetradic
#AB44CB #CB6744 #64CB44 #44A7CB
square
#AB44CB #CB6744 #64CB44 #44A7CB
split-complementary
#AB44CB #A7CB44 #44CB67
monochromatic
#602074 #882EA4 #AB44CB #C174D8 #D6A4E6

Accessibility & contrast

On white

4.75
#AB44CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AB44CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB44CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44CB#FFFFFF#000000##FFFFFF
##AB44CB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCF
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#AA5D82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab44cb;
/* rgb */ color: rgb(171, 68, 203);
/* oklch */ color: oklch(58.2% 0.212 317.2);
Tailwind
colors: {
  custom: {
    50: '#c87fdb',
    500: '#ab44cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab44cb;
$custom-light: #c87fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44cb",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 285.778,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.21172,
    "h": 317.2
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#AB44CB
secondary
#A6D398
accent
#E0486C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB44CB

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

Preview Lab → · Contrast checker → · Palette generator →

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