#AB6DEB#AB6DEB

#AB6DEB is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.187 H 304.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB6DEB
RGBrgb(171, 109, 235)
HSLhsl(270, 76%, 67%)
HSVhsv(270, 54%, 92%)
CMYKcmyk(27.2%, 53.6%, 0%, 7.8%)
CIE-LABlab(57.65, 48.47, -54.65)
CIE-LCHlch(57.65, 73.05, 311.57°)
OKLaboklab(65.52% 0.1057 -0.1539)
OKLCHoklch(65.52% 0.187 304.5)
XYZxyz(37.2554, 25.5935, 81.5585)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DEB #ADEB6D
analogous
#6D6EEB #AB6DEB #EA6DEB
triadic
#AB6DEB #EBAB6D #6DEBAB
tetradic
#AB6DEB #EB6D6E #ADEB6D #6DEBEA
square
#AB6DEB #EB6D6E #ADEB6D #6DEBEA
split-complementary
#AB6DEB #EBEA6D #6EEB6D
monochromatic
#6D1BC3 #8C37E4 #AB6DEB #CAA3F2 #E9D9FA

Accessibility & contrast

On white

3.43
#AB6DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#AB6DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DEB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DEB#FFFFFF#000000##000000
##AB6DEB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#558BE8
Tritanopia (blue-blind)
#A085A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6deb;
/* rgb */ color: rgb(171, 109, 235);
/* oklch */ color: oklch(65.5% 0.187 304.5);
Tailwind
colors: {
  custom: {
    50: '#c799f2',
    500: '#ab6deb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6deb;
$custom-light: #c799f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6deb",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 269.524,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65524,
    "c": 0.18669,
    "h": 304.5
  },
  "luminance": 0.25593
}

Semantic roles & 50–950 ramp

primary
#AB6DEB
secondary
#DAEEC6
accent
#D80D74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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