#AB6EF8#AB6EF8

#AB6EF8 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.5% C 0.200 H 301.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF8
RGBrgb(171, 110, 248)
HSLhsl(267, 91%, 70%)
HSVhsv(267, 56%, 97%)
CMYKcmyk(31%, 55.6%, 0%, 2.7%)
CIE-LABlab(58.59, 51.02, -60.37)
CIE-LCHlch(58.59, 79.04, 310.20°)
OKLaboklab(66.45% 0.1049 -0.1707)
OKLCHoklch(66.45% 0.2 301.6)
XYZxyz(39.3099, 26.5870, 91.8496)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF8 #BBF86E
analogous
#6E76F8 #AB6EF8 #F06EF8
triadic
#AB6EF8 #F8AB6E #6EF8AB
tetradic
#AB6EF8 #F86E76 #BBF86E #6EF8F0
square
#AB6EF8 #F86E76 #BBF86E #6EF8F0
split-complementary
#AB6EF8 #F8F06E #76F86E
monochromatic
#690BE1 #8934F5 #AB6EF8 #CDA8FB #EEE2FE

Accessibility & contrast

On white

3.32
#AB6EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AB6EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF8#FFFFFF#000000##000000
##AB6EF81.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFD
Deuteranopia (green-blind)
#4B8CF5
Tritanopia (blue-blind)
#9C89A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ef8;
/* rgb */ color: rgb(171, 110, 248);
/* oklch */ color: oklch(66.5% 0.200 301.6);
Tailwind
colors: {
  custom: {
    50: '#c89afb',
    500: '#ab6ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef8;
$custom-light: #c89afb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef8",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 266.522,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66454,
    "c": 0.20031,
    "h": 301.6
  },
  "luminance": 0.26587
}

Semantic roles & 50–950 ramp

primary
#AB6EF8
secondary
#E3F4CE
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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