#AB6AEF#AB6AEF

#AB6AEF is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.3% C 0.196 H 304.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB6AEF
RGBrgb(171, 106, 239)
HSLhsl(269, 81%, 68%)
HSVhsv(269, 56%, 94%)
CMYKcmyk(28.5%, 55.6%, 0%, 6.3%)
CIE-LABlab(57.27, 50.99, -57.49)
CIE-LCHlch(57.27, 76.85, 311.57°)
OKLaboklab(65.32% 0.1096 -0.1622)
OKLCHoklch(65.32% 0.196 304)
XYZxyz(37.5252, 25.1981, 84.5314)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AEF #AEEF6A
analogous
#6A6CEF #AB6AEF #ED6AEF
triadic
#AB6AEF #EFAB6A #6AEFAB
tetradic
#AB6AEF #EF6A6C #AEEF6A #6AEFED
square
#AB6AEF #EF6A6C #AEEF6A #6AEFED
split-complementary
#AB6AEF #EFED6A #6CEF6A
monochromatic
#6D16C9 #8C33E9 #AB6AEF #CAA1F5 #E9D9FB

Accessibility & contrast

On white

3.48
#AB6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AB6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AEF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AEF#FFFFFF#000000##000000
##AB6AEF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#4E89EC
Tritanopia (blue-blind)
#9F84A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6aef;
/* rgb */ color: rgb(171, 106, 239);
/* oklch */ color: oklch(65.3% 0.196 304.0);
Tailwind
colors: {
  custom: {
    50: '#c797f5',
    500: '#ab6aef',
    950: '#000000',
  },
}
SCSS
$custom: #ab6aef;
$custom-light: #c797f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6aef",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 269.323,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.19577,
    "h": 304
  },
  "luminance": 0.25198
}

Semantic roles & 50–950 ramp

primary
#AB6AEF
secondary
#DBEFC6
accent
#DD0975
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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