#AB50CE#AB50CE

#AB50CE is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.198 H 315.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB50CE
RGBrgb(171, 80, 206)
HSLhsl(283, 56%, 56%)
HSVhsv(283, 61%, 81%)
CMYKcmyk(17%, 61.2%, 0%, 19.2%)
CIE-LABlab(50.51, 56.74, -49.65)
CIE-LCHlch(50.51, 75.40, 318.81°)
OKLaboklab(59.78% 0.1413 -0.1391)
OKLCHoklch(59.78% 0.198 315.4)
XYZxyz(30.8021, 18.8525, 60.3969)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50CE #73CE50
analogous
#6C50CE #AB50CE #CE50B2
triadic
#AB50CE #CEAB50 #50CEAB
tetradic
#AB50CE #CE6C50 #73CE50 #50B2CE
square
#AB50CE #CE6C50 #73CE50 #50B2CE
split-complementary
#AB50CE #B2CE50 #50CE6C
monochromatic
#662480 #8C31B0 #AB50CE #C280DB #D9B0E9

Accessibility & contrast

On white

4.40
#AB50CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AB50CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50CE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50CE#FFFFFF#000000##000000
##AB50CE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#A96688
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab50ce;
/* rgb */ color: rgb(171, 80, 206);
/* oklch */ color: oklch(59.8% 0.198 315.4);
Tailwind
colors: {
  custom: {
    50: '#c786dd',
    500: '#ab50ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab50ce;
$custom-light: #c786dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50ce",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 283.333,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.19831,
    "h": 315.4
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#AB50CE
secondary
#B1D7A3
accent
#E04872
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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