#AB6DCA#AB6DCA

#AB6DCA is a light, vivid purple. Relative luminance 0.239; OKLCH L 63.7% C 0.149 H 313.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AB6DCA
RGBrgb(171, 109, 202)
HSLhsl(280, 47%, 61%)
HSVhsv(280, 46%, 79%)
CMYKcmyk(15.3%, 46%, 0%, 20.8%)
CIE-LABlab(55.95, 41.03, -38.76)
CIE-LCHlch(55.95, 56.44, 316.63°)
OKLaboklab(63.71% 0.1024 -0.1076)
OKLCHoklch(63.71% 0.149 313.6)
XYZxyz(32.9221, 23.8602, 58.7369)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DCA #8CCA6D
analogous
#7C6DCA #AB6DCA #CA6DBA
triadic
#AB6DCA #CAAB6D #6DCAAB
tetradic
#AB6DCA #CA7C6D #8CCA6D #6DBACA
square
#AB6DCA #CA7C6D #8CCA6D #6DBACA
split-complementary
#AB6DCA #BACA6D #6DCA7C
monochromatic
#6D328A #9043B7 #AB6DCA #C59ADA #DFC7EB

Accessibility & contrast

On white

3.64
#AB6DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AB6DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DCA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DCA#FFFFFF#000000##000000
##AB6DCA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#6B88C7
Tritanopia (blue-blind)
#A87B92
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab6dca;
/* rgb */ color: rgb(171, 109, 202);
/* oklch */ color: oklch(63.7% 0.149 313.6);
Tailwind
colors: {
  custom: {
    50: '#c698da',
    500: '#ab6dca',
    950: '#000000',
  },
}
SCSS
$custom: #ab6dca;
$custom-light: #c698da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6dca",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 46.734,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.14854,
    "h": 313.6
  },
  "luminance": 0.23859
}

Semantic roles & 50–950 ramp

primary
#AB6DCA
secondary
#C4DBB8
accent
#BA2C5B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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