#AB6AE8#AB6AE8

#AB6AE8 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.188 H 305.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB6AE8
RGBrgb(171, 106, 232)
HSLhsl(271, 73%, 66%)
HSVhsv(271, 54%, 91%)
CMYKcmyk(26.3%, 54.3%, 0%, 9%)
CIE-LABlab(56.87, 49.36, -54.22)
CIE-LCHlch(56.87, 73.32, 312.32°)
OKLaboklab(64.9% 0.1094 -0.1526)
OKLCHoklch(64.9% 0.188 305.6)
XYZxyz(36.5110, 24.7925, 79.1903)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AE8 #A7E86A
analogous
#6C6AE8 #AB6AE8 #E86AE6
triadic
#AB6AE8 #E8AB6A #6AE8AB
tetradic
#AB6AE8 #E86C6A #A7E86A #6AE6E8
square
#AB6AE8 #E86C6A #A7E86A #6AE6E8
split-complementary
#AB6AE8 #E6E86A #6AE86C
monochromatic
#6E1DBB #8D35E0 #AB6AE8 #C99FF0 #E7D4F8

Accessibility & contrast

On white

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

On black

5.96
#AB6AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AE8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AE8#FFFFFF#000000##000000
##AB6AE81.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EC
Deuteranopia (green-blind)
#5489E5
Tritanopia (blue-blind)
#A1819F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6ae8;
/* rgb */ color: rgb(171, 106, 232);
/* oklch */ color: oklch(64.9% 0.188 305.6);
Tailwind
colors: {
  custom: {
    50: '#c797f0',
    500: '#ab6ae8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ae8;
$custom-light: #c797f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ae8",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 232
  },
  "hsl": {
    "h": 270.952,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64898,
    "c": 0.18776,
    "h": 305.6
  },
  "luminance": 0.24792
}

Semantic roles & 50–950 ramp

primary
#AB6AE8
secondary
#D6EBC2
accent
#D51070
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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