#AB6CFF#AB6CFF

#AB6CFF is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.6% C 0.211 H 300.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB6CFF
RGBrgb(171, 108, 255)
HSLhsl(266, 100%, 71%)
HSVhsv(266, 58%, 100%)
CMYKcmyk(32.9%, 57.6%, 0%, 0%)
CIE-LABlab(58.60, 53.75, -64.21)
CIE-LCHlch(58.60, 83.74, 309.93°)
OKLaboklab(66.6% 0.1073 -0.1819)
OKLCHoklch(66.6% 0.211 300.5)
XYZxyz(40.2028, 26.6028, 97.6052)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CFF #C0FF6C
analogous
#6C76FF #AB6CFF #F46CFF
triadic
#AB6CFF #FFAB6C #6CFFAB
tetradic
#AB6CFF #FF6C76 #C0FF6C #6CFFF4
square
#AB6CFF #FF6C76 #C0FF6C #6CFFF4
split-complementary
#AB6CFF #FFF46C #76FF6C
monochromatic
#6700F1 #882FFF #AB6CFF #CEA9FF #EEE0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6CFF#FFFFFF#000000##000000
##AB6CFF1.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)
#218CFF
Deuteranopia (green-blind)
#408CFC
Tritanopia (blue-blind)
#9A8AAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6cff;
/* rgb */ color: rgb(171, 108, 255);
/* oklch */ color: oklch(66.6% 0.211 300.5);
Tailwind
colors: {
  custom: {
    50: '#c898ff',
    500: '#ab6cff',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cff;
$custom-light: #c898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cff",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 255
  },
  "hsl": {
    "h": 265.714,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66598,
    "c": 0.21122,
    "h": 300.5
  },
  "luminance": 0.26603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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