#AB6DBE#AB6DBE

#AB6DBE is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.1% C 0.135 H 318.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB6DBE
RGBrgb(171, 109, 190)
HSLhsl(286, 38%, 59%)
HSVhsv(286, 43%, 75%)
CMYKcmyk(10%, 42.6%, 0%, 25.5%)
CIE-LABlab(55.39, 38.49, -32.78)
CIE-LCHlch(55.39, 50.55, 319.58°)
OKLaboklab(63.11% 0.1003 -0.0904)
OKLCHoklch(63.11% 0.135 318)
XYZxyz(31.5562, 23.3139, 51.5429)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DBE #80BE6D
analogous
#826DBE #AB6DBE #BE6DA8
triadic
#AB6DBE #BEAB6D #6DBEAB
tetradic
#AB6DBE #BE826D #80BE6D #6DA8BE
square
#AB6DBE #BE826D #80BE6D #6DA8BE
split-complementary
#AB6DBE #A8BE6D #6DBE82
monochromatic
#6A367A #8F49A5 #AB6DBE #C397D1 #DCC2E4

Accessibility & contrast

On white

3.71
#AB6DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AB6DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DBE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DBE#FFFFFF#000000##000000
##AB6DBE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C1
Deuteranopia (green-blind)
#7187BC
Tritanopia (blue-blind)
#AB788C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab6dbe;
/* rgb */ color: rgb(171, 109, 190);
/* oklch */ color: oklch(63.1% 0.135 318.0);
Tailwind
colors: {
  custom: {
    50: '#c598d2',
    500: '#ab6dbe',
    950: '#000000',
  },
}
SCSS
$custom: #ab6dbe;
$custom-light: #c598d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6dbe",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 285.926,
    "s": 38.389,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63114,
    "c": 0.13502,
    "h": 318
  },
  "luminance": 0.23313
}

Semantic roles & 50–950 ramp

primary
#AB6DBE
secondary
#BBD3B3
accent
#CE5975
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB6DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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