#AB6FED#AB6FED

#AB6FED is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.186 H 303.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB6FED
RGBrgb(171, 111, 237)
HSLhsl(269, 78%, 68%)
HSVhsv(269, 53%, 93%)
CMYKcmyk(27.8%, 53.2%, 0%, 7.1%)
CIE-LABlab(58.17, 47.87, -54.94)
CIE-LCHlch(58.17, 72.87, 311.07°)
OKLaboklab(65.94% 0.1032 -0.1547)
OKLCHoklch(65.94% 0.186 303.7)
XYZxyz(37.7617, 26.1413, 83.1608)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FED #B1ED6F
analogous
#6F72ED #AB6FED #EA6FED
triadic
#AB6FED #EDAB6F #6FEDAB
tetradic
#AB6FED #ED6F72 #B1ED6F #6FEDEA
square
#AB6FED #ED6F72 #B1ED6F #6FEDEA
split-complementary
#AB6FED #EDEA6F #72ED6F
monochromatic
#6D19C9 #8B39E6 #AB6FED #CBA5F4 #EADCFB

Accessibility & contrast

On white

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

On black

6.23
#AB6FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FED
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FED#FFFFFF#000000##000000
##AB6FED1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF1
Deuteranopia (green-blind)
#568CEA
Tritanopia (blue-blind)
#9F87A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6fed;
/* rgb */ color: rgb(171, 111, 237);
/* oklch */ color: oklch(65.9% 0.186 303.7);
Tailwind
colors: {
  custom: {
    50: '#c79af3',
    500: '#ab6fed',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fed;
$custom-light: #c79af3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fed",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 268.571,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65945,
    "c": 0.18601,
    "h": 303.7
  },
  "luminance": 0.26141
}

Semantic roles & 50–950 ramp

primary
#AB6FED
secondary
#DDEFC9
accent
#DA0B78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FED

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

Preview Lab → · Contrast checker → · Palette generator →

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