#AB6DF4#AB6DF4

#AB6DF4 is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.1% C 0.197 H 302.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB6DF4
RGBrgb(171, 109, 244)
HSLhsl(268, 86%, 69%)
HSVhsv(268, 55%, 96%)
CMYKcmyk(29.9%, 55.3%, 0%, 4.3%)
CIE-LABlab(58.16, 50.59, -58.85)
CIE-LCHlch(58.16, 77.61, 310.69°)
OKLaboklab(66.06% 0.106 -0.1662)
OKLCHoklch(66.06% 0.197 302.5)
XYZxyz(38.5886, 26.1268, 88.5804)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DF4 #B6F46D
analogous
#6D73F4 #AB6DF4 #EF6DF4
triadic
#AB6DF4 #F4AB6D #6DF4AB
tetradic
#AB6DF4 #F46D73 #B6F46D #6DF4EF
square
#AB6DF4 #F46D73 #B6F46D #6DF4EF
split-complementary
#AB6DF4 #F4EF6D #73F46D
monochromatic
#6B10D6 #8A34F0 #AB6DF4 #CCA6F8 #ECDFFD

Accessibility & contrast

On white

3.37
#AB6DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AB6DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DF4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DF4#FFFFFF#000000##000000
##AB6DF41.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF8
Deuteranopia (green-blind)
#4D8BF1
Tritanopia (blue-blind)
#9D87A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6df4;
/* rgb */ color: rgb(171, 109, 244);
/* oklch */ color: oklch(66.1% 0.197 302.5);
Tailwind
colors: {
  custom: {
    50: '#c899f8',
    500: '#ab6df4',
    950: '#000000',
  },
}
SCSS
$custom: #ab6df4;
$custom-light: #c899f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6df4",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 267.556,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66062,
    "c": 0.19713,
    "h": 302.5
  },
  "luminance": 0.26127
}

Semantic roles & 50–950 ramp

primary
#AB6DF4
secondary
#E0F2CB
accent
#E3037C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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