#AB6EEF#AB6EEF

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

Color values

HEX#AB6EEF
RGBrgb(171, 110, 239)
HSLhsl(268, 80%, 68%)
HSVhsv(268, 54%, 94%)
CMYKcmyk(28.5%, 54%, 0%, 6.3%)
CIE-LABlab(58.08, 48.87, -56.20)
CIE-LCHlch(58.08, 74.48, 311.01°)
OKLaboklab(65.91% 0.1046 -0.1584)
OKLCHoklch(65.91% 0.19 303.4)
XYZxyz(37.9470, 26.0418, 84.6721)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EEF #B2EF6E
analogous
#6E71EF #AB6EEF #EB6EEF
triadic
#AB6EEF #EFAB6E #6EEFAB
tetradic
#AB6EEF #EF6E71 #B2EF6E #6EEFEB
square
#AB6EEF #EF6E71 #B2EF6E #6EEFEB
split-complementary
#AB6EEF #EFEB6E #71EF6E
monochromatic
#6C17CC #8B37E9 #AB6EEF #CBA5F5 #EBDCFB

Accessibility & contrast

On white

3.38
#AB6EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AB6EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EEF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EEF#FFFFFF#000000##000000
##AB6EEF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#9F87A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6eef;
/* rgb */ color: rgb(171, 110, 239);
/* oklch */ color: oklch(65.9% 0.190 303.4);
Tailwind
colors: {
  custom: {
    50: '#c799f5',
    500: '#ab6eef',
    950: '#000000',
  },
}
SCSS
$custom: #ab6eef;
$custom-light: #c799f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6eef",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 268.372,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65911,
    "c": 0.18985,
    "h": 303.4
  },
  "luminance": 0.26042
}

Semantic roles & 50–950 ramp

primary
#AB6EEF
secondary
#DDF0C9
accent
#DC0978
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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