#AC6DFD#AC6DFD

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

Color values

HEX#AC6DFD
RGBrgb(172, 109, 253)
HSLhsl(266, 97%, 71%)
HSVhsv(266, 57%, 99%)
CMYKcmyk(32%, 56.9%, 0%, 0.8%)
CIE-LABlab(58.79, 52.98, -62.81)
CIE-LCHlch(58.79, 82.17, 310.15°)
OKLaboklab(66.72% 0.1074 -0.1778)
OKLCHoklch(66.72% 0.208 301.1)
XYZxyz(40.2073, 26.7996, 95.9640)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6DFD #BEFD6D
analogous
#6D76FD #AC6DFD #F46DFD
triadic
#AC6DFD #FDAC6D #6DFDAC
tetradic
#AC6DFD #FD6D76 #BEFD6D #6DFDF4
square
#AC6DFD #FD6D76 #BEFD6D #6DFDF4
split-complementary
#AC6DFD #FDF46D #76FD6D
monochromatic
#6903EC #8A31FC #AC6DFD #CEA9FE #EEE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC6DFD#FFFFFF#000000##000000
##AC6DFD1.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)
#298DFF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#9C8AAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac6dfd;
/* rgb */ color: rgb(172, 109, 253);
/* oklch */ color: oklch(66.7% 0.208 301.1);
Tailwind
colors: {
  custom: {
    50: '#c999ff',
    500: '#ac6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ac6dfd;
$custom-light: #c999ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6dfd",
  "rgb": {
    "r": 172,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 266.25,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.2077,
    "h": 301.1
  },
  "luminance": 0.268
}

Semantic roles & 50–950 ramp

primary
#AC6DFD
secondary
#E5F6D0
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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