#AB6DF6#AB6DF6

#AB6DF6 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.2% C 0.199 H 302.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB6DF6
RGBrgb(171, 109, 246)
HSLhsl(267, 88%, 70%)
HSVhsv(267, 56%, 96%)
CMYKcmyk(30.5%, 55.7%, 0%, 3.5%)
CIE-LABlab(58.27, 51.07, -59.77)
CIE-LCHlch(58.27, 78.62, 310.51°)
OKLaboklab(66.18% 0.1061 -0.1689)
OKLCHoklch(66.18% 0.199 302.1)
XYZxyz(38.8939, 26.2490, 90.1884)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DF6 #B8F66D
analogous
#6D74F6 #AB6DF6 #EF6DF6
triadic
#AB6DF6 #F6AB6D #6DF6AB
tetradic
#AB6DF6 #F66D74 #B8F66D #6DF6EF
square
#AB6DF6 #F66D74 #B8F66D #6DF6EF
split-complementary
#AB6DF6 #F6EF6D #74F66D
monochromatic
#6B0EDB #8A33F2 #AB6DF6 #CCA7FA #EDE0FD

Accessibility & contrast

On white

3.36
#AB6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AB6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DF6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DF6#FFFFFF#000000##000000
##AB6DF61.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#348BFB
Deuteranopia (green-blind)
#4B8CF3
Tritanopia (blue-blind)
#9D88A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6df6;
/* rgb */ color: rgb(171, 109, 246);
/* oklch */ color: oklch(66.2% 0.199 302.1);
Tailwind
colors: {
  custom: {
    50: '#c899fa',
    500: '#ab6df6',
    950: '#000000',
  },
}
SCSS
$custom: #ab6df6;
$custom-light: #c899fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6df6",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 267.153,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.19945,
    "h": 302.1
  },
  "luminance": 0.26249
}

Semantic roles & 50–950 ramp

primary
#AB6DF6
secondary
#E1F3CC
accent
#E5017E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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