#AB50BF#AB50BF

#AB50BF is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.184 H 320.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB50BF
RGBrgb(171, 80, 191)
HSLhsl(289, 46%, 53%)
HSVhsv(289, 58%, 75%)
CMYKcmyk(10.5%, 58.1%, 0%, 25.1%)
CIE-LABlab(49.69, 53.73, -42.33)
CIE-LCHlch(49.69, 68.40, 321.77°)
OKLaboklab(58.91% 0.1408 -0.1178)
OKLCHoklch(58.91% 0.184 320.1)
XYZxyz(29.0661, 18.1581, 51.2539)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50BF #64BF50
analogous
#7350BF #AB50BF #BF509C
triadic
#AB50BF #BFAB50 #50BFAB
tetradic
#AB50BF #BF7350 #64BF50 #509CBF
square
#AB50BF #BF7350 #64BF50 #509CBF
split-complementary
#AB50BF #9CBF50 #50BF73
monochromatic
#60286D #88389A #AB50BF #C17DCF #D6AAE0

Accessibility & contrast

On white

4.53
#AB50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AB50BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50BF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50BF#FFFFFF#000000##000000
##AB50BF1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3870C3
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#AC6180
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab50bf;
/* rgb */ color: rgb(171, 80, 191);
/* oklch */ color: oklch(58.9% 0.184 320.1);
Tailwind
colors: {
  custom: {
    50: '#c786d3',
    500: '#ab50bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab50bf;
$custom-light: #c786d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50bf",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 289.189,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.18359,
    "h": 320.1
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#AB50BF
secondary
#A6CD9D
accent
#D6526A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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