#AB6EF9#AB6EF9

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

Color values

HEX#AB6EF9
RGBrgb(171, 110, 249)
HSLhsl(266, 92%, 70%)
HSVhsv(266, 56%, 98%)
CMYKcmyk(31.3%, 55.8%, 0%, 2.4%)
CIE-LABlab(58.65, 51.26, -60.83)
CIE-LCHlch(58.65, 79.55, 310.12°)
OKLaboklab(66.52% 0.1049 -0.172)
OKLCHoklch(66.52% 0.201 301.4)
XYZxyz(39.4654, 26.6492, 92.6688)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF9 #BCF96E
analogous
#6E76F9 #AB6EF9 #F16EF9
triadic
#AB6EF9 #F9AB6E #6EF9AB
tetradic
#AB6EF9 #F96E76 #BCF96E #6EF9F1
square
#AB6EF9 #F96E76 #BCF96E #6EF9F1
split-complementary
#AB6EF9 #F9F16E #76F96E
monochromatic
#6909E3 #8933F7 #AB6EF9 #CDA9FB #EEE2FE

Accessibility & contrast

On white

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

On black

6.33
#AB6EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF9#FFFFFF#000000##000000
##AB6EF91.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#4A8CF6
Tritanopia (blue-blind)
#9B8AA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ef9;
/* rgb */ color: rgb(171, 110, 249);
/* oklch */ color: oklch(66.5% 0.201 301.4);
Tailwind
colors: {
  custom: {
    50: '#c89afc',
    500: '#ab6ef9',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef9;
$custom-light: #c89afc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef9",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 266.331,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66516,
    "c": 0.20148,
    "h": 301.4
  },
  "luminance": 0.26649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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