#AB6FF8#AB6FF8

#AB6FF8 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.199 H 301.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB6FF8
RGBrgb(171, 111, 248)
HSLhsl(266, 91%, 70%)
HSVhsv(266, 55%, 97%)
CMYKcmyk(31%, 55.2%, 0%, 2.7%)
CIE-LABlab(58.79, 50.49, -60.05)
CIE-LCHlch(58.79, 78.45, 310.06°)
OKLaboklab(66.6% 0.1037 -0.1697)
OKLCHoklch(66.6% 0.199 301.4)
XYZxyz(39.4184, 26.8040, 91.8857)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF8 #BCF86F
analogous
#6F78F8 #AB6FF8 #EF6FF8
triadic
#AB6FF8 #F8AB6F #6FF8AB
tetradic
#AB6FF8 #F86F78 #BCF86F #6FF8EF
square
#AB6FF8 #F86F78 #BCF86F #6FF8EF
split-complementary
#AB6FF8 #F8EF6F #78F86F
monochromatic
#690BE2 #8935F5 #AB6FF8 #CDA9FB #EEE2FE

Accessibility & contrast

On white

3.30
#AB6FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AB6FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FF8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FF8#FFFFFF#000000##000000
##AB6FF81.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFD
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#9C8AA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ff8;
/* rgb */ color: rgb(171, 111, 248);
/* oklch */ color: oklch(66.6% 0.199 301.4);
Tailwind
colors: {
  custom: {
    50: '#c89afb',
    500: '#ab6ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff8;
$custom-light: #c89afb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff8",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 266.277,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66603,
    "c": 0.19887,
    "h": 301.4
  },
  "luminance": 0.26804
}

Semantic roles & 50–950 ramp

primary
#AB6FF8
secondary
#E4F4CF
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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