#AB50BC#AB50BC

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

Color values

HEX#AB50BC
RGBrgb(171, 80, 188)
HSLhsl(291, 45%, 53%)
HSVhsv(291, 57%, 74%)
CMYKcmyk(9%, 57.4%, 0%, 26.3%)
CIE-LABlab(49.53, 53.14, -40.84)
CIE-LCHlch(49.53, 67.02, 322.46°)
OKLaboklab(58.74% 0.1406 -0.1135)
OKLCHoklch(58.74% 0.181 321.1)
XYZxyz(28.7393, 18.0274, 49.5330)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50BC #61BC50
analogous
#7550BC #AB50BC #BC5097
triadic
#AB50BC #BCAB50 #50BCAB
tetradic
#AB50BC #BC7550 #61BC50 #5097BC
square
#AB50BC #BC7550 #61BC50 #5097BC
split-complementary
#AB50BC #97BC50 #50BC75
monochromatic
#5F2869 #873996 #AB50BC #C07CCD #D5A9DE

Accessibility & contrast

On white

4.56
#AB50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AB50BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50BC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50BC#FFFFFF#000000##000000
##AB50BC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab50bc;
/* rgb */ color: rgb(171, 80, 188);
/* oklch */ color: oklch(58.7% 0.181 321.1);
Tailwind
colors: {
  custom: {
    50: '#c786d0',
    500: '#ab50bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab50bc;
$custom-light: #c786d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50bc",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 290.556,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.18069,
    "h": 321.1
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#AB50BC
secondary
#A4CB9C
accent
#D45368
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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