#AB50AA#AB50AA

#AB50AA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.8% C 0.164 H 327.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB50AA
RGBrgb(171, 80, 170)
HSLhsl(301, 36%, 49%)
HSVhsv(301, 53%, 67%)
CMYKcmyk(0%, 53.2%, 0.6%, 32.9%)
CIE-LABlab(48.63, 49.76, -31.73)
CIE-LCHlch(48.63, 59.01, 327.47°)
OKLaboklab(57.79% 0.1387 -0.0872)
OKLCHoklch(57.79% 0.164 327.9)
XYZxyz(26.9185, 17.2991, 39.9436)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50AA #50AB51
analogous
#7F50AB #AB50AA #AB507D
triadic
#AB50AA #AAAB50 #50AAAB
tetradic
#AB50AA #AB7F50 #50AB51 #507DAB
square
#AB50AA #AB7F50 #50AB51 #507DAB
split-complementary
#AB50AA #7DAB50 #50AB7F
monochromatic
#582957 #813C81 #AB50AA #C078BF #D3A2D3

Accessibility & contrast

On white

4.71
#AB50AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB50AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB50AA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50AA#FFFFFF#000000##FFFFFF
##AB50AA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#B05A76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab50aa;
/* rgb */ color: rgb(171, 80, 170);
/* oklch */ color: oklch(57.8% 0.164 327.9);
Tailwind
colors: {
  custom: {
    50: '#c685c3',
    500: '#ab50aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab50aa;
$custom-light: #c685c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50aa",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 300.659,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.16383,
    "h": 327.9
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#AB50AA
secondary
#96C197
accent
#CC5D5C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB50AA

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

Preview Lab → · Contrast checker → · Palette generator →

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