#AB50CD#AB50CD

#AB50CD is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.197 H 315.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB50CD
RGBrgb(171, 80, 205)
HSLhsl(284, 56%, 56%)
HSVhsv(284, 61%, 80%)
CMYKcmyk(16.6%, 61%, 0%, 19.6%)
CIE-LABlab(50.46, 56.54, -49.17)
CIE-LCHlch(50.46, 74.92, 318.99°)
OKLaboklab(59.72% 0.1413 -0.1377)
OKLCHoklch(59.72% 0.197 315.7)
XYZxyz(30.6810, 18.8041, 59.7592)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50CD #72CD50
analogous
#6C50CD #AB50CD #CD50B0
triadic
#AB50CD #CDAB50 #50CDAB
tetradic
#AB50CD #CD6C50 #72CD50 #50B0CD
square
#AB50CD #CD6C50 #72CD50 #50B0CD
split-complementary
#AB50CD #B0CD50 #50CD6C
monochromatic
#66247E #8C32AE #AB50CD #C280DB #D9AFE8

Accessibility & contrast

On white

4.41
#AB50CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AB50CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50CD#FFFFFF#000000##000000
##AB50CD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#507BCA
Tritanopia (blue-blind)
#A96687
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab50cd;
/* rgb */ color: rgb(171, 80, 205);
/* oklch */ color: oklch(59.7% 0.197 315.7);
Tailwind
colors: {
  custom: {
    50: '#c786dd',
    500: '#ab50cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab50cd;
$custom-light: #c786dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50cd",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 283.68,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.19731,
    "h": 315.7
  },
  "luminance": 0.18803
}

Semantic roles & 50–950 ramp

primary
#AB50CD
secondary
#B1D6A2
accent
#DF4972
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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