#AB44B2#AB44B2

#AB44B2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.189 H 325.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB44B2
RGBrgb(171, 68, 178)
HSLhsl(296, 45%, 48%)
HSVhsv(296, 62%, 70%)
CMYKcmyk(3.9%, 61.8%, 0%, 30.2%)
CIE-LABlab(46.99, 56.78, -39.03)
CIE-LCHlch(46.99, 68.90, 325.50°)
OKLaboklab(56.72% 0.1551 -0.1081)
OKLCHoklch(56.72% 0.189 325.1)
XYZxyz(26.8970, 16.0081, 43.7840)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44B2 #4BB244
analogous
#7444B2 #AB44B2 #B24482
triadic
#AB44B2 #B2AB44 #44B2AB
tetradic
#AB44B2 #B27444 #4BB244 #4482B2
square
#AB44B2 #B27444 #4BB244 #4482B2
split-complementary
#AB44B2 #82B244 #44B274
monochromatic
#562259 #803386 #AB44B2 #C16CC7 #D499D8

Accessibility & contrast

On white

5.00
#AB44B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AB44B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB44B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44B2#FFFFFF#000000##FFFFFF
##AB44B21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#AF5475
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab44b2;
/* rgb */ color: rgb(171, 68, 178);
/* oklch */ color: oklch(56.7% 0.189 325.1);
Tailwind
colors: {
  custom: {
    50: '#c77fc9',
    500: '#ab44b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab44b2;
$custom-light: #c77fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44b2",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 296.182,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.18908,
    "h": 325.1
  },
  "luminance": 0.16007
}

Semantic roles & 50–950 ramp

primary
#AB44B2
secondary
#91C48E
accent
#D4535C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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