#AB44B8#AB44B8

#AB44B8 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.194 H 323.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB44B8
RGBrgb(171, 68, 184)
HSLhsl(293, 46%, 49%)
HSVhsv(293, 63%, 72%)
CMYKcmyk(7.1%, 63%, 0%, 27.8%)
CIE-LABlab(47.31, 57.88, -42.03)
CIE-LCHlch(47.31, 71.53, 324.01°)
OKLaboklab(57.05% 0.1554 -0.1168)
OKLCHoklch(57.05% 0.194 323.1)
XYZxyz(27.5126, 16.2544, 47.0263)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44B8 #51B844
analogous
#7144B8 #AB44B8 #B8448B
triadic
#AB44B8 #B8AB44 #44B8AB
tetradic
#AB44B8 #B87144 #51B844 #448BB8
square
#AB44B8 #B87144 #51B844 #448BB8
split-complementary
#AB44B8 #8BB844 #44B871
monochromatic
#58235F #81338B #AB44B8 #C06FCA #D39CDA

Accessibility & contrast

On white

4.94
#AB44B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AB44B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB44B8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44B8#FFFFFF#000000##FFFFFF
##AB44B81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BB
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#AE5678
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab44b8;
/* rgb */ color: rgb(171, 68, 184);
/* oklch */ color: oklch(57.1% 0.194 323.1);
Tailwind
colors: {
  custom: {
    50: '#c77fce',
    500: '#ab44b8',
    950: '#000000',
  },
}
SCSS
$custom: #ab44b8;
$custom-light: #c77fce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44b8",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 184
  },
  "hsl": {
    "h": 293.276,
    "s": 46.032,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.19441,
    "h": 323.1
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#AB44B8
secondary
#97C791
accent
#D65261
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB44B8

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

Preview Lab → · Contrast checker → · Palette generator →

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