#AB6DFF#AB6DFF

#AB6DFF is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.7% C 0.210 H 300.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB6DFF
RGBrgb(171, 109, 255)
HSLhsl(265, 100%, 71%)
HSVhsv(265, 57%, 100%)
CMYKcmyk(32.9%, 57.3%, 0%, 0%)
CIE-LABlab(58.80, 53.23, -63.89)
CIE-LCHlch(58.80, 83.16, 309.80°)
OKLaboklab(66.74% 0.1061 -0.181)
OKLCHoklch(66.74% 0.21 300.4)
XYZxyz(40.3089, 26.8149, 97.6405)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DFF #C1FF6D
analogous
#6D78FF #AB6DFF #F46DFF
triadic
#AB6DFF #FFAB6D #6DFFAB
tetradic
#AB6DFF #FF6D78 #C1FF6D #6DFFF4
square
#AB6DFF #FF6D78 #C1FF6D #6DFFF4
split-complementary
#AB6DFF #FFF46D #78FF6D
monochromatic
#6700F2 #8830FF #AB6DFF #CEAAFF #EDE0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6DFF#FFFFFF#000000##000000
##AB6DFF1.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)
#258DFF
Deuteranopia (green-blind)
#418DFC
Tritanopia (blue-blind)
#998BAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6dff;
/* rgb */ color: rgb(171, 109, 255);
/* oklch */ color: oklch(66.7% 0.210 300.4);
Tailwind
colors: {
  custom: {
    50: '#c899ff',
    500: '#ab6dff',
    950: '#000000',
  },
}
SCSS
$custom: #ab6dff;
$custom-light: #c899ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6dff",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 265.479,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66743,
    "c": 0.20982,
    "h": 300.4
  },
  "luminance": 0.26815
}

Semantic roles & 50–950 ramp

primary
#AB6DFF
secondary
#E7F7D1
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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