#AB6DE6#AB6DE6

#AB6DE6 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.2% C 0.181 H 305.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB6DE6
RGBrgb(171, 109, 230)
HSLhsl(271, 71%, 66%)
HSVhsv(271, 53%, 90%)
CMYKcmyk(25.7%, 52.6%, 0%, 9.8%)
CIE-LABlab(57.37, 47.30, -52.30)
CIE-LCHlch(57.37, 70.52, 312.13°)
OKLaboklab(65.23% 0.1054 -0.147)
OKLCHoklch(65.23% 0.181 305.6)
XYZxyz(36.5431, 25.3086, 77.8075)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DE6 #A8E66D
analogous
#6F6DE6 #AB6DE6 #E66DE4
triadic
#AB6DE6 #E6AB6D #6DE6AB
tetradic
#AB6DE6 #E66F6D #A8E66D #6DE4E6
square
#AB6DE6 #E66F6D #A8E66D #6DE4E6
split-complementary
#AB6DE6 #E4E66D #6DE66F
monochromatic
#6E20B9 #8D39DD #AB6DE6 #C9A1EF #E7D6F8

Accessibility & contrast

On white

3.46
#AB6DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AB6DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DE6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DE6#FFFFFF#000000##000000
##AB6DE61.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EA
Deuteranopia (green-blind)
#598AE3
Tritanopia (blue-blind)
#A1839F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6de6;
/* rgb */ color: rgb(171, 109, 230);
/* oklch */ color: oklch(65.2% 0.181 305.6);
Tailwind
colors: {
  custom: {
    50: '#c799ee',
    500: '#ab6de6',
    950: '#000000',
  },
}
SCSS
$custom: #ab6de6;
$custom-light: #c799ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6de6",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 230
  },
  "hsl": {
    "h": 270.744,
    "s": 70.76,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65233,
    "c": 0.18089,
    "h": 305.6
  },
  "luminance": 0.25308
}

Semantic roles & 50–950 ramp

primary
#AB6DE6
secondary
#D7EBC4
accent
#D31370
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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