#AB5BD2#AB5BD2

#AB5BD2 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.5% C 0.186 H 313.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB5BD2
RGBrgb(171, 91, 210)
HSLhsl(280, 57%, 59%)
HSVhsv(280, 57%, 82%)
CMYKcmyk(18.6%, 56.7%, 0%, 17.6%)
CIE-LABlab(52.72, 52.22, -48.41)
CIE-LCHlch(52.72, 71.21, 317.16°)
OKLaboklab(61.46% 0.1276 -0.1356)
OKLCHoklch(61.46% 0.186 313.3)
XYZxyz(32.1665, 20.7941, 63.2795)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BD2 #82D25B
analogous
#705BD2 #AB5BD2 #D25BBE
triadic
#AB5BD2 #D2AB5B #5BD2AB
tetradic
#AB5BD2 #D2705B #82D25B #5BBED2
square
#AB5BD2 #D2705B #82D25B #5BBED2
split-complementary
#AB5BD2 #BED25B #5BD270
monochromatic
#6B268C #8F34BC #AB5BD2 #C48BDF #DCBBEC

Accessibility & contrast

On white

4.07
#AB5BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AB5BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BD2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BD2#FFFFFF#000000##000000
##AB5BD21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3879D6
Deuteranopia (green-blind)
#5680CF
Tritanopia (blue-blind)
#A7708E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab5bd2;
/* rgb */ color: rgb(171, 91, 210);
/* oklch */ color: oklch(61.5% 0.186 313.3);
Tailwind
colors: {
  custom: {
    50: '#c78de0',
    500: '#ab5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bd2;
$custom-light: #c78de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bd2",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 280.336,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.18621,
    "h": 313.3
  },
  "luminance": 0.20793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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