#AB6FEE#AB6FEE

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

Color values

HEX#AB6FEE
RGBrgb(171, 111, 238)
HSLhsl(268, 79%, 68%)
HSVhsv(268, 53%, 93%)
CMYKcmyk(28.2%, 53.4%, 0%, 6.7%)
CIE-LABlab(58.23, 48.10, -55.40)
CIE-LCHlch(58.23, 73.37, 310.97°)
OKLaboklab(66% 0.1033 -0.1561)
OKLCHoklch(66% 0.187 303.5)
XYZxyz(37.9082, 26.1999, 83.9323)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FEE #B2EE6F
analogous
#6F72EE #AB6FEE #EA6FEE
triadic
#AB6FEE #EEAB6F #6FEEAB
tetradic
#AB6FEE #EE6F72 #B2EE6F #6FEEEA
square
#AB6FEE #EE6F72 #B2EE6F #6FEEEA
split-complementary
#AB6FEE #EEEA6F #72EE6F
monochromatic
#6C18CB #8B38E8 #AB6FEE #CBA6F4 #EBDCFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6FEE#FFFFFF#000000##000000
##AB6FEE1.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)
#428BF2
Deuteranopia (green-blind)
#558CEB
Tritanopia (blue-blind)
#9F87A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6fee;
/* rgb */ color: rgb(171, 111, 238);
/* oklch */ color: oklch(66.0% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#c79af4',
    500: '#ab6fee',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fee;
$custom-light: #c79af4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fee",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 268.346,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66004,
    "c": 0.18718,
    "h": 303.5
  },
  "luminance": 0.262
}

Semantic roles & 50–950 ramp

primary
#AB6FEE
secondary
#DDF0C9
accent
#DB0A79
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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