#AB6DEE#AB6DEE

#AB6DEE is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.190 H 303.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB6DEE
RGBrgb(171, 109, 238)
HSLhsl(269, 79%, 68%)
HSVhsv(269, 54%, 93%)
CMYKcmyk(28.2%, 54.2%, 0%, 6.7%)
CIE-LABlab(57.82, 49.17, -56.06)
CIE-LCHlch(57.82, 74.57, 311.26°)
OKLaboklab(65.7% 0.1058 -0.158)
OKLCHoklch(65.7% 0.19 303.8)
XYZxyz(37.6924, 25.7684, 83.8604)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DEE #B0EE6D
analogous
#6D6FEE #AB6DEE #EB6DEE
triadic
#AB6DEE #EEAB6D #6DEEAB
tetradic
#AB6DEE #EE6D6F #B0EE6D #6DEEEB
square
#AB6DEE #EE6D6F #B0EE6D #6DEEEB
split-complementary
#AB6DEE #EEEB6D #6FEE6D
monochromatic
#6D17C9 #8B36E8 #AB6DEE #CBA4F4 #EADBFB

Accessibility & contrast

On white

3.41
#AB6DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AB6DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DEE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DEE#FFFFFF#000000##000000
##AB6DEE1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F2
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#9F86A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6dee;
/* rgb */ color: rgb(171, 109, 238);
/* oklch */ color: oklch(65.7% 0.190 303.8);
Tailwind
colors: {
  custom: {
    50: '#c799f4',
    500: '#ab6dee',
    950: '#000000',
  },
}
SCSS
$custom: #ab6dee;
$custom-light: #c799f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6dee",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 268.837,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65701,
    "c": 0.19017,
    "h": 303.8
  },
  "luminance": 0.25768
}

Semantic roles & 50–950 ramp

primary
#AB6DEE
secondary
#DCEFC8
accent
#DB0A77
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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