#AB6EE8#AB6EE8

#AB6EE8 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.182 H 305.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB6EE8
RGBrgb(171, 110, 232)
HSLhsl(270, 73%, 67%)
HSVhsv(270, 53%, 91%)
CMYKcmyk(26.3%, 52.6%, 0%, 9%)
CIE-LABlab(57.69, 47.23, -52.91)
CIE-LCHlch(57.69, 70.93, 311.75°)
OKLaboklab(65.5% 0.1042 -0.1488)
OKLCHoklch(65.5% 0.182 305)
XYZxyz(36.9329, 25.6362, 79.3309)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EE8 #ABE86E
analogous
#6E6EE8 #AB6EE8 #E86EE8
triadic
#AB6EE8 #E8AB6E #6EE8AB
tetradic
#AB6EE8 #E86E6E #ABE86E #6EE8E8
square
#AB6EE8 #E86E6E #ABE86E #6EE8E8
split-complementary
#AB6EE8 #E8E86E #6EE86E
monochromatic
#6E1EBE #8C39E0 #AB6EE8 #CAA3F0 #E8D8F9

Accessibility & contrast

On white

3.43
#AB6EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AB6EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EE8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EE8#FFFFFF#000000##000000
##AB6EE81.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4689EC
Deuteranopia (green-blind)
#598BE5
Tritanopia (blue-blind)
#A184A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6ee8;
/* rgb */ color: rgb(171, 110, 232);
/* oklch */ color: oklch(65.5% 0.182 305.0);
Tailwind
colors: {
  custom: {
    50: '#c799f0',
    500: '#ab6ee8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ee8;
$custom-light: #c799f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ee8",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 232
  },
  "hsl": {
    "h": 270,
    "s": 72.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65501,
    "c": 0.18169,
    "h": 305
  },
  "luminance": 0.25636
}

Semantic roles & 50–950 ramp

primary
#AB6EE8
secondary
#D9ECC6
accent
#D51173
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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