#AB5CCD#AB5CCD

#AB5CCD is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.3% C 0.179 H 314.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB5CCD
RGBrgb(171, 92, 205)
HSLhsl(282, 53%, 58%)
HSVhsv(282, 55%, 80%)
CMYKcmyk(16.6%, 55.1%, 0%, 19.6%)
CIE-LABlab(52.64, 50.65, -45.69)
CIE-LCHlch(52.64, 68.21, 317.95°)
OKLaboklab(61.31% 0.1261 -0.1277)
OKLCHoklch(61.31% 0.179 314.6)
XYZxyz(31.6394, 20.7209, 60.0786)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CCD #7ECD5C
analogous
#725CCD #AB5CCD #CD5CB6
triadic
#AB5CCD #CDAB5C #5CCDAB
tetradic
#AB5CCD #CD725C #7ECD5C #5CB6CD
square
#AB5CCD #CD725C #7ECD5C #5CB6CD
split-complementary
#AB5CCD #B6CD5C #5CCD72
monochromatic
#6A2986 #8F37B4 #AB5CCD #C38BDB #DBBAEA

Accessibility & contrast

On white

4.08
#AB5CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AB5CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CCD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CCD#FFFFFF#000000##000000
##AB5CCD1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#A86F8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab5ccd;
/* rgb */ color: rgb(171, 92, 205);
/* oklch */ color: oklch(61.3% 0.179 314.6);
Tailwind
colors: {
  custom: {
    50: '#c78ddd',
    500: '#ab5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ccd;
$custom-light: #c78ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ccd",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 281.947,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.1794,
    "h": 314.6
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#AB5CCD
secondary
#B9D9AC
accent
#DC4B77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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