#AB44D2#AB44D2

#AB44D2 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.218 H 315.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB44D2
RGBrgb(171, 68, 210)
HSLhsl(284, 61%, 55%)
HSVhsv(284, 68%, 82%)
CMYKcmyk(18.6%, 67.6%, 0%, 17.6%)
CIE-LABlab(48.82, 62.90, -54.66)
CIE-LCHlch(48.82, 83.33, 319.01°)
OKLaboklab(58.63% 0.1549 -0.1537)
OKLCHoklch(58.63% 0.218 315.2)
XYZxyz(30.4927, 17.4464, 62.7215)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44D2 #6BD244
analogous
#6444D2 #AB44D2 #D244B2
triadic
#AB44D2 #D2AB44 #44D2AB
tetradic
#AB44D2 #D26444 #6BD244 #44B2D2
square
#AB44D2 #D26444 #6BD244 #44B2D2
split-complementary
#AB44D2 #B2D244 #44D264
monochromatic
#631E7D #8A2AAF #AB44D2 #C175DE #D7A7EA

Accessibility & contrast

On white

4.68
#AB44D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB44D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB44D2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44D2#FFFFFF#000000##FFFFFF
##AB44D21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#A86086
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab44d2;
/* rgb */ color: rgb(171, 68, 210);
/* oklch */ color: oklch(58.6% 0.218 315.2);
Tailwind
colors: {
  custom: {
    50: '#c880e0',
    500: '#ab44d2',
    950: '#000000',
  },
}
SCSS
$custom: #ab44d2;
$custom-light: #c880e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44d2",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 283.521,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.21822,
    "h": 315.2
  },
  "luminance": 0.17445
}

Semantic roles & 50–950 ramp

primary
#AB44D2
secondary
#ABD79B
accent
#E44370
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB44D2

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

Preview Lab → · Contrast checker → · Palette generator →

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