#AB6CFD#AB6CFD

#AB6CFD is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.5% C 0.209 H 300.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB6CFD
RGBrgb(171, 108, 253)
HSLhsl(266, 97%, 71%)
HSVhsv(266, 57%, 99%)
CMYKcmyk(32.4%, 57.3%, 0%, 0.8%)
CIE-LABlab(58.48, 53.27, -63.30)
CIE-LCHlch(58.48, 82.73, 310.08°)
OKLaboklab(66.47% 0.1073 -0.1793)
OKLCHoklch(66.47% 0.209 300.9)
XYZxyz(39.8826, 26.4747, 95.9184)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CFD #BEFD6C
analogous
#6C75FD #AB6CFD #F36CFD
triadic
#AB6CFD #FDAB6C #6CFDAB
tetradic
#AB6CFD #FD6C75 #BEFD6C #6CFDF3
square
#AB6CFD #FD6C75 #BEFD6C #6CFDF3
split-complementary
#AB6CFD #FDF36C #75FD6C
monochromatic
#6803EB #8830FC #AB6CFD #CEA8FE #EEE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB6CFD#FFFFFF#000000##000000
##AB6CFD1.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)
#258CFF
Deuteranopia (green-blind)
#428CFA
Tritanopia (blue-blind)
#9A8AAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6cfd;
/* rgb */ color: rgb(171, 108, 253);
/* oklch */ color: oklch(66.5% 0.209 300.9);
Tailwind
colors: {
  custom: {
    50: '#c898ff',
    500: '#ab6cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cfd;
$custom-light: #c898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cfd",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 266.069,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66472,
    "c": 0.20893,
    "h": 300.9
  },
  "luminance": 0.26475
}

Semantic roles & 50–950 ramp

primary
#AB6CFD
secondary
#E5F6CF
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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