#AB6FF9#AB6FF9

#AB6FF9 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.7% C 0.200 H 301.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB6FF9
RGBrgb(171, 111, 249)
HSLhsl(266, 92%, 71%)
HSVhsv(266, 55%, 98%)
CMYKcmyk(31.3%, 55.4%, 0%, 2.4%)
CIE-LABlab(58.85, 50.73, -60.51)
CIE-LCHlch(58.85, 78.96, 309.98°)
OKLaboklab(66.66% 0.1037 -0.1711)
OKLCHoklch(66.66% 0.2 301.2)
XYZxyz(39.5739, 26.8662, 92.7050)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF9 #BDF96F
analogous
#6F78F9 #AB6FF9 #F06FF9
triadic
#AB6FF9 #F9AB6F #6FF9AB
tetradic
#AB6FF9 #F96F78 #BDF96F #6FF9F0
square
#AB6FF9 #F96F78 #BDF96F #6FF9F0
split-complementary
#AB6FF9 #F9F06F #78F96F
monochromatic
#690AE4 #8934F7 #AB6FF9 #CDAAFB #EEE2FE

Accessibility & contrast

On white

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

On black

6.37
#AB6FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FF9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FF9#FFFFFF#000000##000000
##AB6FF91.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358DFE
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#9B8AAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab6ff9;
/* rgb */ color: rgb(171, 111, 249);
/* oklch */ color: oklch(66.7% 0.200 301.2);
Tailwind
colors: {
  custom: {
    50: '#c89afc',
    500: '#ab6ff9',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff9;
$custom-light: #c89afc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff9",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 266.087,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66664,
    "c": 0.20003,
    "h": 301.2
  },
  "luminance": 0.26866
}

Semantic roles & 50–950 ramp

primary
#AB6FF9
secondary
#E4F5CF
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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