#AB6FF5#AB6FF5

#AB6FF5 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.4% C 0.195 H 302.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB6FF5
RGBrgb(171, 111, 245)
HSLhsl(267, 87%, 70%)
HSVhsv(267, 55%, 96%)
CMYKcmyk(30.2%, 54.7%, 0%, 3.9%)
CIE-LABlab(58.62, 49.77, -58.66)
CIE-LCHlch(58.62, 76.93, 310.31°)
OKLaboklab(66.42% 0.1036 -0.1657)
OKLCHoklch(66.42% 0.195 302)
XYZxyz(38.9567, 26.6193, 89.4542)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF5 #B9F56F
analogous
#6F76F5 #AB6FF5 #EE6FF5
triadic
#AB6FF5 #F5AB6F #6FF5AB
tetradic
#AB6FF5 #F56F76 #B9F56F #6FF5EE
square
#AB6FF5 #F56F76 #B9F56F #6FF5EE
split-complementary
#AB6FF5 #F5EE6F #76F56F
monochromatic
#6A0FDA #8A36F1 #AB6FF5 #CCA8F9 #EEE1FD

Accessibility & contrast

On white

3.32
#AB6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AB6FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FF5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FF5#FFFFFF#000000##000000
##AB6FF51.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CF9
Deuteranopia (green-blind)
#4F8CF2
Tritanopia (blue-blind)
#9D89A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ff5;
/* rgb */ color: rgb(171, 111, 245);
/* oklch */ color: oklch(66.4% 0.195 302.0);
Tailwind
colors: {
  custom: {
    50: '#c89af9',
    500: '#ab6ff5',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff5;
$custom-light: #c89af9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff5",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 266.866,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66421,
    "c": 0.19537,
    "h": 302
  },
  "luminance": 0.26619
}

Semantic roles & 50–950 ramp

primary
#AB6FF5
secondary
#E2F3CD
accent
#E4027F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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