#AB6DFD#AB6DFD

#AB6DFD is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.6% C 0.208 H 300.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB6DFD
RGBrgb(171, 109, 253)
HSLhsl(266, 97%, 71%)
HSVhsv(266, 57%, 99%)
CMYKcmyk(32.4%, 56.9%, 0%, 0.8%)
CIE-LABlab(58.68, 52.75, -62.98)
CIE-LCHlch(58.68, 82.15, 309.95°)
OKLaboklab(66.62% 0.1061 -0.1783)
OKLCHoklch(66.62% 0.208 300.8)
XYZxyz(39.9886, 26.6868, 95.9538)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DFD #BFFD6D
analogous
#6D77FD #AB6DFD #F36DFD
triadic
#AB6DFD #FDAB6D #6DFDAB
tetradic
#AB6DFD #FD6D77 #BFFD6D #6DFDF3
square
#AB6DFD #FD6D77 #BFFD6D #6DFDF3
split-complementary
#AB6DFD #FDF36D #77FD6D
monochromatic
#6803EC #8831FC #AB6DFD #CEA9FE #EEE1FF

Accessibility & contrast

On white

3.31
#AB6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AB6DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DFD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DFD#FFFFFF#000000##000000
##AB6DFD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#298DFF
Deuteranopia (green-blind)
#448CFA
Tritanopia (blue-blind)
#9A8AAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6dfd;
/* rgb */ color: rgb(171, 109, 253);
/* oklch */ color: oklch(66.6% 0.208 300.8);
Tailwind
colors: {
  custom: {
    50: '#c899ff',
    500: '#ab6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6dfd;
$custom-light: #c899ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6dfd",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 265.833,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66617,
    "c": 0.20752,
    "h": 300.8
  },
  "luminance": 0.26687
}

Semantic roles & 50–950 ramp

primary
#AB6DFD
secondary
#E6F6D0
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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