#AB44A2#AB44A2

#AB44A2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.175 H 331.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB44A2
RGBrgb(171, 68, 162)
HSLhsl(305, 43%, 47%)
HSVhsv(305, 60%, 67%)
CMYKcmyk(0%, 60.2%, 5.3%, 32.9%)
CIE-LABlab(46.18, 53.97, -30.85)
CIE-LCHlch(46.18, 62.16, 330.25°)
OKLaboklab(55.87% 0.1537 -0.0845)
OKLCHoklch(55.87% 0.175 331.2)
XYZxyz(25.3832, 15.4026, 35.8115)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44A2 #44AB4D
analogous
#8144AB #AB44A2 #AB446F
triadic
#AB44A2 #A2AB44 #44A2AB
tetradic
#AB44A2 #AB8144 #44AB4D #446FAB
square
#AB44A2 #AB8144 #44AB4D #446FAB
split-complementary
#AB44A2 #6FAB44 #44AB81
monochromatic
#53214F #7F3379 #AB44A2 #C369BB #D595CF

Accessibility & contrast

On white

5.15
#AB44A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB44A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB44A2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44A2#FFFFFF#000000##FFFFFF
##AB44A21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#B14E6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab44a2;
/* rgb */ color: rgb(171, 68, 162);
/* oklch */ color: oklch(55.9% 0.175 331.2);
Tailwind
colors: {
  custom: {
    50: '#c77ebe',
    500: '#ab44a2',
    950: '#000000',
  },
}
SCSS
$custom: #ab44a2;
$custom-light: #c77ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44a2",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 162
  },
  "hsl": {
    "h": 305.243,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.17538,
    "h": 331.2
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#AB44A2
secondary
#8AC08F
accent
#D36055
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB44A2

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

Preview Lab → · Contrast checker → · Palette generator →

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