#AB6DCD#AB6DCD

#AB6DCD is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.152 H 312.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB6DCD
RGBrgb(171, 109, 205)
HSLhsl(279, 49%, 62%)
HSVhsv(279, 47%, 80%)
CMYKcmyk(16.6%, 46.8%, 0%, 19.6%)
CIE-LABlab(56.09, 41.68, -40.24)
CIE-LCHlch(56.09, 57.93, 316.00°)
OKLaboklab(63.86% 0.1028 -0.1119)
OKLCHoklch(63.86% 0.152 312.6)
XYZxyz(33.2808, 24.0037, 60.6258)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DCD #8FCD6D
analogous
#7B6DCD #AB6DCD #CD6DBF
triadic
#AB6DCD #CDAB6D #6DCDAB
tetradic
#AB6DCD #CD7B6D #8FCD6D #6DBFCD
square
#AB6DCD #CD7B6D #8FCD6D #6DBFCD
split-complementary
#AB6DCD #BFCD6D #6DCD7B
monochromatic
#6D318F #9040BC #AB6DCD #C59BDD #DFC8EC

Accessibility & contrast

On white

3.62
#AB6DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AB6DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DCD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DCD#FFFFFF#000000##000000
##AB6DCD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#A87C93
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab6dcd;
/* rgb */ color: rgb(171, 109, 205);
/* oklch */ color: oklch(63.9% 0.152 312.6);
Tailwind
colors: {
  custom: {
    50: '#c698dc',
    500: '#ab6dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6dcd;
$custom-light: #c698dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6dcd",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 278.75,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63863,
    "c": 0.15197,
    "h": 312.6
  },
  "luminance": 0.24003
}

Semantic roles & 50–950 ramp

primary
#AB6DCD
secondary
#C6DDB9
accent
#BC295D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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