#AB6EED#AB6EED

#AB6EED is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.188 H 303.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB6EED
RGBrgb(171, 110, 237)
HSLhsl(269, 78%, 68%)
HSVhsv(269, 54%, 93%)
CMYKcmyk(27.8%, 53.6%, 0%, 7.1%)
CIE-LABlab(57.97, 48.40, -55.26)
CIE-LCHlch(57.97, 73.46, 311.21°)
OKLaboklab(65.79% 0.1045 -0.1557)
OKLCHoklch(65.79% 0.188 303.9)
XYZxyz(37.6532, 25.9243, 83.1246)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EED #B0ED6E
analogous
#6E70ED #AB6EED #EA6EED
triadic
#AB6EED #EDAB6E #6EEDAB
tetradic
#AB6EED #ED6E70 #B0ED6E #6EEDEA
square
#AB6EED #ED6E70 #B0ED6E #6EEDEA
split-complementary
#AB6EED #EDEA6E #70ED6E
monochromatic
#6D19C8 #8B38E6 #AB6EED #CBA4F4 #EADBFB

Accessibility & contrast

On white

3.40
#AB6EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AB6EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EED
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EED#FFFFFF#000000##000000
##AB6EED1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF1
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#9F86A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6eed;
/* rgb */ color: rgb(171, 110, 237);
/* oklch */ color: oklch(65.8% 0.188 303.9);
Tailwind
colors: {
  custom: {
    50: '#c799f3',
    500: '#ab6eed',
    950: '#000000',
  },
}
SCSS
$custom: #ab6eed;
$custom-light: #c799f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6eed",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 237
  },
  "hsl": {
    "h": 268.819,
    "s": 77.914,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65793,
    "c": 0.18752,
    "h": 303.9
  },
  "luminance": 0.25924
}

Semantic roles & 50–950 ramp

primary
#AB6EED
secondary
#DCEFC8
accent
#DA0B77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EED

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

Preview Lab → · Contrast checker → · Palette generator →

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