#AB5DCB#AB5DCB

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

Color values

HEX#AB5DCB
RGBrgb(171, 93, 203)
HSLhsl(283, 51%, 58%)
HSVhsv(283, 54%, 80%)
CMYKcmyk(15.8%, 54.2%, 0%, 20.4%)
CIE-LABlab(52.73, 49.72, -44.41)
CIE-LCHlch(52.73, 66.67, 318.23°)
OKLaboklab(61.34% 0.1246 -0.1239)
OKLCHoklch(61.34% 0.176 315.1)
XYZxyz(31.4867, 20.7994, 58.8444)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DCB #7DCB5D
analogous
#745DCB #AB5DCB #CB5DB4
triadic
#AB5DCB #CBAB5D #5DCBAB
tetradic
#AB5DCB #CB745D #7DCB5D #5DB4CB
square
#AB5DCB #CB745D #7DCB5D #5DB4CB
split-complementary
#AB5DCB #B4CB5D #5DCB74
monochromatic
#692A83 #8F39B2 #AB5DCB #C38BDA #DBBAE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5DCB#FFFFFF#000000##000000
##AB5DCB1.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)
#4279CF
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#A96F8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab5dcb;
/* rgb */ color: rgb(171, 93, 203);
/* oklch */ color: oklch(61.3% 0.176 315.1);
Tailwind
colors: {
  custom: {
    50: '#c68edb',
    500: '#ab5dcb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dcb;
$custom-light: #c68edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dcb",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 282.545,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.17574,
    "h": 315.1
  },
  "luminance": 0.20798
}

Semantic roles & 50–950 ramp

primary
#AB5DCB
secondary
#B9D8AC
accent
#DB4D76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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