#AB50B2#AB50B2

#AB50B2 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.171 H 324.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB50B2
RGBrgb(171, 80, 178)
HSLhsl(296, 39%, 51%)
HSVhsv(296, 55%, 70%)
CMYKcmyk(3.9%, 55.1%, 0%, 30.2%)
CIE-LABlab(49.02, 51.23, -35.82)
CIE-LCHlch(49.02, 62.51, 325.04°)
OKLaboklab(58.2% 0.1397 -0.0989)
OKLCHoklch(58.2% 0.171 324.7)
XYZxyz(27.6985, 17.6111, 44.0512)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50B2 #57B250
analogous
#7A50B2 #AB50B2 #B25088
triadic
#AB50B2 #B2AB50 #50B2AB
tetradic
#AB50B2 #B27A50 #57B250 #5088B2
square
#AB50B2 #B27A50 #57B250 #5088B2
split-complementary
#AB50B2 #88B250 #50B27A
monochromatic
#5A295E #833C89 #AB50B2 #BF7AC5 #D4A5D7

Accessibility & contrast

On white

4.64
#AB50B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AB50B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB50B2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50B2#FFFFFF#000000##FFFFFF
##AB50B21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#AE5D79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab50b2;
/* rgb */ color: rgb(171, 80, 178);
/* oklch */ color: oklch(58.2% 0.171 324.7);
Tailwind
colors: {
  custom: {
    50: '#c685c9',
    500: '#ab50b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab50b2;
$custom-light: #c685c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50b2",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 295.714,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.1712,
    "h": 324.7
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#AB50B2
secondary
#9CC599
accent
#CF5961
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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