#AB6AE9#AB6AE9

#AB6AE9 is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.0% C 0.189 H 305.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB6AE9
RGBrgb(171, 106, 233)
HSLhsl(271, 74%, 66%)
HSVhsv(271, 55%, 91%)
CMYKcmyk(26.6%, 54.5%, 0%, 8.6%)
CIE-LABlab(56.93, 49.59, -54.69)
CIE-LCHlch(56.93, 73.83, 312.20°)
OKLaboklab(64.96% 0.1094 -0.154)
OKLCHoklch(64.96% 0.189 305.4)
XYZxyz(36.6535, 24.8494, 79.9405)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AE9 #A8E96A
analogous
#6C6AE9 #AB6AE9 #E96AE7
triadic
#AB6AE9 #E9AB6A #6AE9AB
tetradic
#AB6AE9 #E96C6A #A8E96A #6AE7E9
square
#AB6AE9 #E96C6A #A8E96A #6AE7E9
split-complementary
#AB6AE9 #E7E96A #6AE96C
monochromatic
#6E1CBD #8D35E1 #AB6AE9 #C99FF1 #E7D5F9

Accessibility & contrast

On white

3.52
#AB6AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AB6AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AE9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AE9#FFFFFF#000000##000000
##AB6AE91.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87ED
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#A182A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6ae9;
/* rgb */ color: rgb(171, 106, 233);
/* oklch */ color: oklch(65.0% 0.189 305.4);
Tailwind
colors: {
  custom: {
    50: '#c797f1',
    500: '#ab6ae9',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ae9;
$custom-light: #c797f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ae9",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 233
  },
  "hsl": {
    "h": 270.709,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64957,
    "c": 0.1889,
    "h": 305.4
  },
  "luminance": 0.24849
}

Semantic roles & 50–950 ramp

primary
#AB6AE9
secondary
#D7ECC3
accent
#D60F70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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