#AB6BEF#AB6BEF

#AB6BEF is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.5% C 0.194 H 303.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB6BEF
RGBrgb(171, 107, 239)
HSLhsl(269, 80%, 68%)
HSVhsv(269, 55%, 94%)
CMYKcmyk(28.5%, 55.2%, 0%, 6.3%)
CIE-LABlab(57.47, 50.47, -57.17)
CIE-LCHlch(57.47, 76.26, 311.44°)
OKLaboklab(65.46% 0.1084 -0.1613)
OKLCHoklch(65.46% 0.194 303.9)
XYZxyz(37.6288, 25.4054, 84.5660)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BEF #AFEF6B
analogous
#6B6DEF #AB6BEF #ED6BEF
triadic
#AB6BEF #EFAB6B #6BEFAB
tetradic
#AB6BEF #EF6B6D #AFEF6B #6BEFED
square
#AB6BEF #EF6B6D #AFEF6B #6BEFED
split-complementary
#AB6BEF #EFED6B #6DEF6B
monochromatic
#6D16CA #8C34E9 #AB6BEF #CAA2F5 #EAD9FB

Accessibility & contrast

On white

3.45
#AB6BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AB6BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BEF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BEF#FFFFFF#000000##000000
##AB6BEF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#9F84A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6bef;
/* rgb */ color: rgb(171, 107, 239);
/* oklch */ color: oklch(65.5% 0.194 303.9);
Tailwind
colors: {
  custom: {
    50: '#c797f5',
    500: '#ab6bef',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bef;
$custom-light: #c797f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bef",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 269.091,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65463,
    "c": 0.1943,
    "h": 303.9
  },
  "luminance": 0.25405
}

Semantic roles & 50–950 ramp

primary
#AB6BEF
secondary
#DCEFC7
accent
#DD0976
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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