#AB44AA#AB44AA

#AB44AA is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.182 H 328.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB44AA
RGBrgb(171, 68, 170)
HSLhsl(301, 43%, 47%)
HSVhsv(301, 60%, 67%)
CMYKcmyk(0%, 60.2%, 0.6%, 32.9%)
CIE-LABlab(46.57, 55.35, -34.97)
CIE-LCHlch(46.57, 65.47, 327.72°)
OKLaboklab(56.28% 0.1545 -0.0964)
OKLCHoklch(56.28% 0.182 328)
XYZxyz(26.1171, 15.6961, 39.6765)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44AA #44AB45
analogous
#7944AB #AB44AA #AB4476
triadic
#AB44AA #AAAB44 #44AAAB
tetradic
#AB44AA #AB7944 #44AB45 #4476AB
square
#AB44AA #AB7944 #44AB45 #4476AB
split-complementary
#AB44AA #76AB44 #44AB79
monochromatic
#532153 #7F337E #AB44AA #C369C2 #D595D4

Accessibility & contrast

On white

5.07
#AB44AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AB44AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB44AA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44AA#FFFFFF#000000##FFFFFF
##AB44AA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#B05071
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab44aa;
/* rgb */ color: rgb(171, 68, 170);
/* oklch */ color: oklch(56.3% 0.182 328.0);
Tailwind
colors: {
  custom: {
    50: '#c77ec3',
    500: '#ab44aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab44aa;
$custom-light: #c77ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44aa",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 300.583,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56283,
    "c": 0.18212,
    "h": 328
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#AB44AA
secondary
#8AC08B
accent
#D35655
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB44AA

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

Preview Lab → · Contrast checker → · Palette generator →

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