#AB44BA#AB44BA

#AB44BA is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.2% C 0.196 H 322.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB44BA
RGBrgb(171, 68, 186)
HSLhsl(292, 46%, 50%)
HSVhsv(292, 63%, 73%)
CMYKcmyk(8.1%, 63.4%, 0%, 27.1%)
CIE-LABlab(47.42, 58.25, -43.02)
CIE-LCHlch(47.42, 72.42, 323.55°)
OKLaboklab(57.17% 0.1554 -0.1197)
OKLCHoklch(57.17% 0.196 322.4)
XYZxyz(27.7237, 16.3388, 48.1383)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB44BA #53BA44
analogous
#7044BA #AB44BA #BA448E
triadic
#AB44BA #BAAB44 #44BAAB
tetradic
#AB44BA #BA7044 #53BA44 #448EBA
square
#AB44BA #BA7044 #53BA44 #448EBA
split-complementary
#AB44BA #8EBA44 #44BA70
monochromatic
#592360 #82348D #AB44BA #BF70CB #D39DDB

Accessibility & contrast

On white

4.92
#AB44BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB44BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB44BA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB44BA#FFFFFF#000000##FFFFFF
##AB44BA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#AD5779
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab44ba;
/* rgb */ color: rgb(171, 68, 186);
/* oklch */ color: oklch(57.2% 0.196 322.4);
Tailwind
colors: {
  custom: {
    50: '#c77fcf',
    500: '#ab44ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab44ba;
$custom-light: #c77fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab44ba",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 186
  },
  "hsl": {
    "h": 292.373,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.1962,
    "h": 322.4
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#AB44BA
secondary
#99C892
accent
#D65263
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB44BA

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

Preview Lab → · Contrast checker → · Palette generator →

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