#AB6DF9#AB6DF9

#AB6DF9 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.4% C 0.203 H 301.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB6DF9
RGBrgb(171, 109, 249)
HSLhsl(267, 92%, 70%)
HSVhsv(267, 56%, 98%)
CMYKcmyk(31.3%, 56.2%, 0%, 2.4%)
CIE-LABlab(58.45, 51.79, -61.15)
CIE-LCHlch(58.45, 80.13, 310.26°)
OKLaboklab(66.37% 0.1061 -0.173)
OKLCHoklch(66.37% 0.203 301.5)
XYZxyz(39.3581, 26.4346, 92.6330)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DF9 #BBF96D
analogous
#6D75F9 #AB6DF9 #F16DF9
triadic
#AB6DF9 #F9AB6D #6DF9AB
tetradic
#AB6DF9 #F96D75 #BBF96D #6DF9F1
square
#AB6DF9 #F96D75 #BBF96D #6DF9F1
split-complementary
#AB6DF9 #F9F16D #75F96D
monochromatic
#6909E2 #8932F7 #AB6DF9 #CDA8FB #EEE2FE

Accessibility & contrast

On white

3.34
#AB6DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AB6DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DF9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DF9#FFFFFF#000000##000000
##AB6DF91.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8CFE
Deuteranopia (green-blind)
#488CF6
Tritanopia (blue-blind)
#9C89A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6df9;
/* rgb */ color: rgb(171, 109, 249);
/* oklch */ color: oklch(66.4% 0.203 301.5);
Tailwind
colors: {
  custom: {
    50: '#c899fc',
    500: '#ab6df9',
    950: '#000000',
  },
}
SCSS
$custom: #ab6df9;
$custom-light: #c899fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6df9",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 266.571,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66368,
    "c": 0.20291,
    "h": 301.5
  },
  "luminance": 0.26435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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