#AB6FF6#AB6FF6

#AB6FF6 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.197 H 301.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB6FF6
RGBrgb(171, 111, 246)
HSLhsl(267, 88%, 70%)
HSVhsv(267, 55%, 96%)
CMYKcmyk(30.5%, 54.9%, 0%, 3.5%)
CIE-LABlab(58.68, 50.01, -59.12)
CIE-LCHlch(58.68, 77.44, 310.23°)
OKLaboklab(66.48% 0.1036 -0.167)
OKLCHoklch(66.48% 0.197 301.8)
XYZxyz(39.1097, 26.6805, 90.2603)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF6 #BAF66F
analogous
#6F76F6 #AB6FF6 #EF6FF6
triadic
#AB6FF6 #F6AB6F #6FF6AB
tetradic
#AB6FF6 #F66F76 #BAF66F #6FF6EF
square
#AB6FF6 #F66F76 #BAF66F #6FF6EF
split-complementary
#AB6FF6 #F6EF6F #76F66F
monochromatic
#6A0EDD #8935F2 #AB6FF6 #CDA9FA #EEE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6FF6#FFFFFF#000000##000000
##AB6FF61.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)
#398CFA
Deuteranopia (green-blind)
#4E8DF3
Tritanopia (blue-blind)
#9C89A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ff6;
/* rgb */ color: rgb(171, 111, 246);
/* oklch */ color: oklch(66.5% 0.197 301.8);
Tailwind
colors: {
  custom: {
    50: '#c89afa',
    500: '#ab6ff6',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff6;
$custom-light: #c89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff6",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 266.667,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.19653,
    "h": 301.8
  },
  "luminance": 0.26681
}

Semantic roles & 50–950 ramp

primary
#AB6FF6
secondary
#E2F3CE
accent
#E5017F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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