#AB6AED#AB6AED

#AB6AED is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.2% C 0.193 H 304.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB6AED
RGBrgb(171, 106, 237)
HSLhsl(270, 78%, 67%)
HSVhsv(270, 55%, 93%)
CMYKcmyk(27.8%, 55.3%, 0%, 7.1%)
CIE-LABlab(57.15, 50.52, -56.56)
CIE-LCHlch(57.15, 75.84, 311.77°)
OKLaboklab(65.2% 0.1095 -0.1595)
OKLCHoklch(65.2% 0.193 304.5)
XYZxyz(37.2313, 25.0806, 82.9840)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AED #ACED6A
analogous
#6A6BED #AB6AED #EC6AED
triadic
#AB6AED #EDAB6A #6AEDAB
tetradic
#AB6AED #ED6A6B #ACED6A #6AEDEC
square
#AB6AED #ED6A6B #ACED6A #6AEDEC
split-complementary
#AB6AED #EDEC6A #6BED6A
monochromatic
#6E18C5 #8C33E6 #AB6AED #CAA1F4 #E9D7FA

Accessibility & contrast

On white

3.49
#AB6AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AB6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AED
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AED#FFFFFF#000000##000000
##AB6AED1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F1
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#9F83A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6aed;
/* rgb */ color: rgb(171, 106, 237);
/* oklch */ color: oklch(65.2% 0.193 304.5);
Tailwind
colors: {
  custom: {
    50: '#c797f3',
    500: '#ab6aed',
    950: '#000000',
  },
}
SCSS
$custom: #ab6aed;
$custom-light: #c797f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6aed",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 269.771,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65196,
    "c": 0.19348,
    "h": 304.5
  },
  "luminance": 0.2508
}

Semantic roles & 50–950 ramp

primary
#AB6AED
secondary
#DAEEC5
accent
#DB0B74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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