#AB6DF1#AB6DF1

#AB6DF1 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.9% C 0.194 H 303.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB6DF1
RGBrgb(171, 109, 241)
HSLhsl(268, 83%, 69%)
HSVhsv(268, 55%, 95%)
CMYKcmyk(29%, 54.8%, 0%, 5.5%)
CIE-LABlab(57.99, 49.88, -57.46)
CIE-LCHlch(57.99, 76.09, 310.96°)
OKLaboklab(65.88% 0.1059 -0.1621)
OKLCHoklch(65.88% 0.194 303.2)
XYZxyz(38.1368, 25.9461, 86.2010)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DF1 #B3F16D
analogous
#6D71F1 #AB6DF1 #ED6DF1
triadic
#AB6DF1 #F1AB6D #6DF1AB
tetradic
#AB6DF1 #F16D71 #B3F16D #6DF1ED
square
#AB6DF1 #F16D71 #B3F16D #6DF1ED
split-complementary
#AB6DF1 #F1ED6D #71F16D
monochromatic
#6C14D0 #8B35EC #AB6DF1 #CBA5F6 #EBDDFC

Accessibility & contrast

On white

3.39
#AB6DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AB6DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DF1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DF1#FFFFFF#000000##000000
##AB6DF11.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF5
Deuteranopia (green-blind)
#508BEE
Tritanopia (blue-blind)
#9E86A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6df1;
/* rgb */ color: rgb(171, 109, 241);
/* oklch */ color: oklch(65.9% 0.194 303.2);
Tailwind
colors: {
  custom: {
    50: '#c799f6',
    500: '#ab6df1',
    950: '#000000',
  },
}
SCSS
$custom: #ab6df1;
$custom-light: #c799f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6df1",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 268.182,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65881,
    "c": 0.19365,
    "h": 303.2
  },
  "luminance": 0.25946
}

Semantic roles & 50–950 ramp

primary
#AB6DF1
secondary
#DEF1C9
accent
#DF0779
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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