#AB5DBD#AB5DBD

#AB5DBD is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.6% C 0.161 H 319.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB5DBD
RGBrgb(171, 93, 189)
HSLhsl(289, 42%, 55%)
HSVhsv(289, 51%, 74%)
CMYKcmyk(9.5%, 50.8%, 0%, 25.9%)
CIE-LABlab(52.02, 46.84, -37.49)
CIE-LCHlch(52.02, 59.99, 321.33°)
OKLaboklab(60.59% 0.1232 -0.1039)
OKLCHoklch(60.59% 0.161 319.9)
XYZxyz(29.8931, 20.1619, 50.4513)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DBD #6FBD5D
analogous
#7B5DBD #AB5DBD #BD5D9F
triadic
#AB5DBD #BDAB5D #5DBDAB
tetradic
#AB5DBD #BD7B5D #6FBD5D #5D9FBD
square
#AB5DBD #BD7B5D #6FBD5D #5D9FBD
split-complementary
#AB5DBD #9FBD5D #5DBD7B
monochromatic
#652E71 #8B409D #AB5DBD #C288CF #D8B4E0

Accessibility & contrast

On white

4.17
#AB5DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AB5DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DBD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DBD#FFFFFF#000000##000000
##AB5DBD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C0
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#AC6A84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab5dbd;
/* rgb */ color: rgb(171, 93, 189);
/* oklch */ color: oklch(60.6% 0.161 319.9);
Tailwind
colors: {
  custom: {
    50: '#c68ed1',
    500: '#ab5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dbd;
$custom-light: #c68ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dbd",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 288.75,
    "s": 42.105,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.16111,
    "h": 319.9
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#AB5DBD
secondary
#AECFA7
accent
#D2566D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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