#AB6AE2#AB6AE2

#AB6AE2 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.5% C 0.181 H 307.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB6AE2
RGBrgb(171, 106, 226)
HSLhsl(273, 67%, 65%)
HSVhsv(273, 53%, 89%)
CMYKcmyk(24.3%, 53.1%, 0%, 11.4%)
CIE-LABlab(56.54, 47.98, -51.38)
CIE-LCHlch(56.54, 70.30, 313.04°)
OKLaboklab(64.55% 0.109 -0.1443)
OKLCHoklch(64.55% 0.181 307.1)
XYZxyz(35.6733, 24.4574, 74.7782)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AE2 #A1E26A
analogous
#6F6AE2 #AB6AE2 #E26ADD
triadic
#AB6AE2 #E2AB6A #6AE2AB
tetradic
#AB6AE2 #E26F6A #A1E26A #6ADDE2
square
#AB6AE2 #E26F6A #A1E26A #6ADDE2
split-complementary
#AB6AE2 #DDE26A #6AE26F
monochromatic
#6F22AF #8E37D8 #AB6AE2 #C89DEC #E5D0F6

Accessibility & contrast

On white

3.56
#AB6AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AB6AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AE2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AE2#FFFFFF#000000##000000
##AB6AE21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#5988DF
Tritanopia (blue-blind)
#A3809C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6ae2;
/* rgb */ color: rgb(171, 106, 226);
/* oklch */ color: oklch(64.5% 0.181 307.1);
Tailwind
colors: {
  custom: {
    50: '#c797ec',
    500: '#ab6ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ae2;
$custom-light: #c797ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ae2",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 272.5,
    "s": 67.416,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64548,
    "c": 0.18088,
    "h": 307.1
  },
  "luminance": 0.24457
}

Semantic roles & 50–950 ramp

primary
#AB6AE2
secondary
#D2E8C0
accent
#CF166B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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