#AB50BB#AB50BB

#AB50BB is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.180 H 321.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB50BB
RGBrgb(171, 80, 187)
HSLhsl(291, 44%, 52%)
HSVhsv(291, 57%, 73%)
CMYKcmyk(8.6%, 57.2%, 0%, 26.7%)
CIE-LABlab(49.48, 52.95, -40.34)
CIE-LCHlch(49.48, 66.56, 322.70°)
OKLaboklab(58.68% 0.1406 -0.112)
OKLCHoklch(58.68% 0.18 321.4)
XYZxyz(28.6319, 17.9844, 48.9673)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50BB #60BB50
analogous
#7650BB #AB50BB #BB5096
triadic
#AB50BB #BBAB50 #50BBAB
tetradic
#AB50BB #BB7650 #60BB50 #5096BB
square
#AB50BB #BB7650 #60BB50 #5096BB
split-complementary
#AB50BB #96BB50 #50BB76
monochromatic
#5F2868 #873A94 #AB50BB #C07CCC #D5A8DD

Accessibility & contrast

On white

4.57
#AB50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AB50BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50BB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50BB#FFFFFF#000000##000000
##AB50BB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#AD607E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab50bb;
/* rgb */ color: rgb(171, 80, 187);
/* oklch */ color: oklch(58.7% 0.180 321.4);
Tailwind
colors: {
  custom: {
    50: '#c786d0',
    500: '#ab50bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab50bb;
$custom-light: #c786d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50bb",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 291.028,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.17973,
    "h": 321.4
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#AB50BB
secondary
#A3CB9C
accent
#D45467
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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