#AC6DFE#AC6DFE

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

Color values

HEX#AC6DFE
RGBrgb(172, 109, 254)
HSLhsl(266, 99%, 71%)
HSVhsv(266, 57%, 100%)
CMYKcmyk(32.3%, 57.1%, 0%, 0.4%)
CIE-LABlab(58.85, 53.22, -63.27)
CIE-LCHlch(58.85, 82.67, 310.07°)
OKLaboklab(66.78% 0.1074 -0.1791)
OKLCHoklch(66.78% 0.209 300.9)
XYZxyz(40.3671, 26.8635, 96.8052)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6DFE #BFFE6D
analogous
#6D76FE #AC6DFE #F46DFE
triadic
#AC6DFE #FEAC6D #6DFEAC
tetradic
#AC6DFE #FE6D76 #BFFE6D #6DFEF4
square
#AC6DFE #FE6D76 #BFFE6D #6DFEF4
split-complementary
#AC6DFE #FEF46D #76FE6D
monochromatic
#6902EF #8930FE #AC6DFE #CFAAFE #EEE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC6DFE#FFFFFF#000000##000000
##AC6DFE1.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)
#278DFF
Deuteranopia (green-blind)
#448DFB
Tritanopia (blue-blind)
#9B8BAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac6dfe;
/* rgb */ color: rgb(172, 109, 254);
/* oklch */ color: oklch(66.8% 0.209 300.9);
Tailwind
colors: {
  custom: {
    50: '#c999ff',
    500: '#ac6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #ac6dfe;
$custom-light: #c999ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6dfe",
  "rgb": {
    "r": 172,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 266.069,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66781,
    "c": 0.20884,
    "h": 300.9
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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