#AB5DC0#AB5DC0

#AB5DC0 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.7% C 0.164 H 318.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB5DC0
RGBrgb(171, 93, 192)
HSLhsl(287, 44%, 56%)
HSVhsv(287, 52%, 75%)
CMYKcmyk(10.9%, 51.6%, 0%, 24.7%)
CIE-LABlab(52.17, 47.45, -38.98)
CIE-LCHlch(52.17, 61.41, 320.59°)
OKLaboklab(60.74% 0.1235 -0.1082)
OKLCHoklch(60.74% 0.164 318.8)
XYZxyz(30.2221, 20.2935, 52.1840)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DC0 #72C05D
analogous
#795DC0 #AB5DC0 #C05DA3
triadic
#AB5DC0 #C0AB5D #5DC0AB
tetradic
#AB5DC0 #C0795D #72C05D #5DA3C0
square
#AB5DC0 #C0795D #72C05D #5DA3C0
split-complementary
#AB5DC0 #A3C05D #5DC079
monochromatic
#662E75 #8C3FA1 #AB5DC0 #C289D1 #D9B5E2

Accessibility & contrast

On white

4.15
#AB5DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AB5DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DC0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DC0#FFFFFF#000000##000000
##AB5DC01.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C3
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#AB6B86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab5dc0;
/* rgb */ color: rgb(171, 93, 192);
/* oklch */ color: oklch(60.7% 0.164 318.8);
Tailwind
colors: {
  custom: {
    50: '#c68ed3',
    500: '#ab5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dc0;
$custom-light: #c68ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dc0",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 287.273,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.16421,
    "h": 318.8
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#AB5DC0
secondary
#B1D1A8
accent
#D4546F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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