#AB5CD0#AB5CD0

#AB5CD0 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.5% C 0.183 H 313.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB5CD0
RGBrgb(171, 92, 208)
HSLhsl(281, 55%, 59%)
HSVhsv(281, 56%, 82%)
CMYKcmyk(17.8%, 55.8%, 0%, 18.4%)
CIE-LABlab(52.80, 51.29, -47.15)
CIE-LCHlch(52.80, 69.66, 317.41°)
OKLaboklab(61.48% 0.1262 -0.1319)
OKLCHoklch(61.48% 0.183 313.7)
XYZxyz(32.0050, 20.8672, 62.0041)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CD0 #81D05C
analogous
#715CD0 #AB5CD0 #D05CBB
triadic
#AB5CD0 #D0AB5C #5CD0AB
tetradic
#AB5CD0 #D0715C #81D05C #5CBBD0
square
#AB5CD0 #D0715C #81D05C #5CBBD0
split-complementary
#AB5CD0 #BBD05C #5CD071
monochromatic
#6B288A #8F35B9 #AB5CD0 #C38CDE #DCBBEB

Accessibility & contrast

On white

4.06
#AB5CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AB5CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CD0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CD0#FFFFFF#000000##000000
##AB5CD01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7AD4
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#A8708D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab5cd0;
/* rgb */ color: rgb(171, 92, 208);
/* oklch */ color: oklch(61.5% 0.183 313.7);
Tailwind
colors: {
  custom: {
    50: '#c78ddf',
    500: '#ab5cd0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cd0;
$custom-light: #c78ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cd0",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 280.862,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.18258,
    "h": 313.7
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#AB5CD0
secondary
#BCDBAD
accent
#DF4979
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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