#AB6DED#AB6DED

#AB6DED is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.189 H 304.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB6DED
RGBrgb(171, 109, 237)
HSLhsl(269, 78%, 68%)
HSVhsv(269, 54%, 93%)
CMYKcmyk(27.8%, 54%, 0%, 7.1%)
CIE-LABlab(57.76, 48.94, -55.59)
CIE-LCHlch(57.76, 74.06, 311.36°)
OKLaboklab(65.64% 0.1058 -0.1567)
OKLCHoklch(65.64% 0.189 304)
XYZxyz(37.5459, 25.7098, 83.0888)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DED #AFED6D
analogous
#6D6FED #AB6DED #EB6DED
triadic
#AB6DED #EDAB6D #6DEDAB
tetradic
#AB6DED #ED6D6F #AFED6D #6DEDEB
square
#AB6DED #ED6D6F #AFED6D #6DEDEB
split-complementary
#AB6DED #EDEB6D #6FED6D
monochromatic
#6D19C7 #8C37E6 #AB6DED #CAA3F4 #EADAFA

Accessibility & contrast

On white

3.42
#AB6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AB6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DED
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DED#FFFFFF#000000##000000
##AB6DED1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F1
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#9F85A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6ded;
/* rgb */ color: rgb(171, 109, 237);
/* oklch */ color: oklch(65.6% 0.189 304.0);
Tailwind
colors: {
  custom: {
    50: '#c799f3',
    500: '#ab6ded',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ded;
$custom-light: #c799f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ded",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 269.063,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65642,
    "c": 0.18902,
    "h": 304
  },
  "luminance": 0.2571
}

Semantic roles & 50–950 ramp

primary
#AB6DED
secondary
#DCEFC7
accent
#DA0B76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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