#AB6DF5#AB6DF5

#AB6DF5 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.1% C 0.198 H 302.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB6DF5
RGBrgb(171, 109, 245)
HSLhsl(267, 87%, 69%)
HSVhsv(267, 56%, 96%)
CMYKcmyk(30.2%, 55.5%, 0%, 3.9%)
CIE-LABlab(58.21, 50.83, -59.31)
CIE-LCHlch(58.21, 78.11, 310.60°)
OKLaboklab(66.12% 0.106 -0.1675)
OKLCHoklch(66.12% 0.198 302.3)
XYZxyz(38.7409, 26.1877, 89.3823)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DF5 #B7F56D
analogous
#6D73F5 #AB6DF5 #EF6DF5
triadic
#AB6DF5 #F5AB6D #6DF5AB
tetradic
#AB6DF5 #F56D73 #B7F56D #6DF5EF
square
#AB6DF5 #F56D73 #B7F56D #6DF5EF
split-complementary
#AB6DF5 #F5EF6D #73F56D
monochromatic
#6B0FD9 #8A34F1 #AB6DF5 #CCA6F9 #EDE0FD

Accessibility & contrast

On white

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

On black

6.24
#AB6DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DF5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DF5#FFFFFF#000000##000000
##AB6DF51.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#4C8BF2
Tritanopia (blue-blind)
#9D88A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6df5;
/* rgb */ color: rgb(171, 109, 245);
/* oklch */ color: oklch(66.1% 0.198 302.3);
Tailwind
colors: {
  custom: {
    50: '#c899f9',
    500: '#ab6df5',
    950: '#000000',
  },
}
SCSS
$custom: #ab6df5;
$custom-light: #c899f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6df5",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 267.353,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66123,
    "c": 0.19828,
    "h": 302.3
  },
  "luminance": 0.26188
}

Semantic roles & 50–950 ramp

primary
#AB6DF5
secondary
#E1F2CB
accent
#E4027D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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