#AB6EEE#AB6EEE

#AB6EEE is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.9% C 0.189 H 303.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB6EEE
RGBrgb(171, 110, 238)
HSLhsl(269, 79%, 68%)
HSVhsv(269, 54%, 93%)
CMYKcmyk(28.2%, 53.8%, 0%, 6.7%)
CIE-LABlab(58.02, 48.64, -55.73)
CIE-LCHlch(58.02, 73.97, 311.11°)
OKLaboklab(65.85% 0.1046 -0.1571)
OKLCHoklch(65.85% 0.189 303.6)
XYZxyz(37.7997, 25.9829, 83.8962)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EEE #B1EE6E
analogous
#6E71EE #AB6EEE #EB6EEE
triadic
#AB6EEE #EEAB6E #6EEEAB
tetradic
#AB6EEE #EE6E71 #B1EE6E #6EEEEB
square
#AB6EEE #EE6E71 #B1EE6E #6EEEEB
split-complementary
#AB6EEE #EEEB6E #71EE6E
monochromatic
#6D18CA #8B37E8 #AB6EEE #CBA5F4 #EADCFB

Accessibility & contrast

On white

3.39
#AB6EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AB6EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EEE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EEE#FFFFFF#000000##000000
##AB6EEE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#548BEB
Tritanopia (blue-blind)
#9F86A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6eee;
/* rgb */ color: rgb(171, 110, 238);
/* oklch */ color: oklch(65.9% 0.189 303.6);
Tailwind
colors: {
  custom: {
    50: '#c799f4',
    500: '#ab6eee',
    950: '#000000',
  },
}
SCSS
$custom: #ab6eee;
$custom-light: #c799f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6eee",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 268.594,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65852,
    "c": 0.18868,
    "h": 303.6
  },
  "luminance": 0.25983
}

Semantic roles & 50–950 ramp

primary
#AB6EEE
secondary
#DDEFC8
accent
#DB0A78
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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