#AB6EEB#AB6EEB

#AB6EEB is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.185 H 304.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AB6EEB
RGBrgb(171, 110, 235)
HSLhsl(269, 76%, 68%)
HSVhsv(269, 53%, 92%)
CMYKcmyk(27.2%, 53.2%, 0%, 7.8%)
CIE-LABlab(57.85, 47.93, -54.33)
CIE-LCHlch(57.85, 72.45, 311.42°)
OKLaboklab(65.68% 0.1044 -0.153)
OKLCHoklch(65.68% 0.185 304.3)
XYZxyz(37.3626, 25.8081, 81.5943)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EEB #AEEB6E
analogous
#6E6FEB #AB6EEB #EA6EEB
triadic
#AB6EEB #EBAB6E #6EEBAB
tetradic
#AB6EEB #EB6E6F #AEEB6E #6EEBEA
square
#AB6EEB #EB6E6F #AEEB6E #6EEBEA
split-complementary
#AB6EEB #EBEA6E #6FEB6E
monochromatic
#6D1BC4 #8C38E4 #AB6EEB #CAA4F2 #E9DAFA

Accessibility & contrast

On white

3.41
#AB6EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AB6EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EEB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EEB#FFFFFF#000000##000000
##AB6EEB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#A085A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6eeb;
/* rgb */ color: rgb(171, 110, 235);
/* oklch */ color: oklch(65.7% 0.185 304.3);
Tailwind
colors: {
  custom: {
    50: '#c799f2',
    500: '#ab6eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6eeb;
$custom-light: #c799f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6eeb",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 269.28,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65675,
    "c": 0.18519,
    "h": 304.3
  },
  "luminance": 0.25808
}

Semantic roles & 50–950 ramp

primary
#AB6EEB
secondary
#DBEEC7
accent
#D80E75
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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