#AB5CD2#AB5CD2

#AB5CD2 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.6% C 0.185 H 313.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AB5CD2
RGBrgb(171, 92, 210)
HSLhsl(280, 57%, 59%)
HSVhsv(280, 56%, 82%)
CMYKcmyk(18.6%, 56.2%, 0%, 17.6%)
CIE-LABlab(52.91, 51.71, -48.11)
CIE-LCHlch(52.91, 70.63, 317.06°)
OKLaboklab(61.6% 0.1263 -0.1347)
OKLCHoklch(61.6% 0.185 313.2)
XYZxyz(32.2526, 20.9662, 63.3082)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CD2 #83D25C
analogous
#705CD2 #AB5CD2 #D25CBE
triadic
#AB5CD2 #D2AB5C #5CD2AB
tetradic
#AB5CD2 #D2705C #83D25C #5CBED2
square
#AB5CD2 #D2705C #83D25C #5CBED2
split-complementary
#AB5CD2 #BED25C #5CD270
monochromatic
#6B278D #9034BD #AB5CD2 #C48CDF #DCBCEC

Accessibility & contrast

On white

4.04
#AB5CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AB5CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CD2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CD2#FFFFFF#000000##000000
##AB5CD21.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#A7708E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab5cd2;
/* rgb */ color: rgb(171, 92, 210);
/* oklch */ color: oklch(61.6% 0.185 313.2);
Tailwind
colors: {
  custom: {
    50: '#c78de0',
    500: '#ab5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cd2;
$custom-light: #c78de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cd2",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 280.169,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61597,
    "c": 0.18469,
    "h": 313.2
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

primary
#AB5CD2
secondary
#BDDCAE
accent
#E0487A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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