#AB6AE7#AB6AE7

#AB6AE7 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.8% C 0.187 H 305.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB6AE7
RGBrgb(171, 106, 231)
HSLhsl(271, 72%, 66%)
HSVhsv(271, 54%, 91%)
CMYKcmyk(26%, 54.1%, 0%, 9.4%)
CIE-LABlab(56.82, 49.13, -53.75)
CIE-LCHlch(56.82, 72.82, 312.43°)
OKLaboklab(64.84% 0.1093 -0.1512)
OKLCHoklch(64.84% 0.187 305.9)
XYZxyz(36.3694, 24.7358, 78.4443)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AE7 #A6E76A
analogous
#6C6AE7 #AB6AE7 #E76AE4
triadic
#AB6AE7 #E7AB6A #6AE7AB
tetradic
#AB6AE7 #E76C6A #A6E76A #6AE4E7
square
#AB6AE7 #E76C6A #A6E76A #6AE4E7
split-complementary
#AB6AE7 #E4E76A #6AE76C
monochromatic
#6E1EB9 #8D35DF #AB6AE7 #C99FEF #E6D3F8

Accessibility & contrast

On white

3.53
#AB6AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AB6AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AE7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AE7#FFFFFF#000000##000000
##AB6AE71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#5589E4
Tritanopia (blue-blind)
#A1819F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6ae7;
/* rgb */ color: rgb(171, 106, 231);
/* oklch */ color: oklch(64.8% 0.187 305.9);
Tailwind
colors: {
  custom: {
    50: '#c797ef',
    500: '#ab6ae7',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ae7;
$custom-light: #c797ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ae7",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 271.2,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64839,
    "c": 0.18661,
    "h": 305.9
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#AB6AE7
secondary
#D6EBC2
accent
#D4116F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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