#AC6CFE#AC6CFE

#AC6CFE is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.6% C 0.210 H 301.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AC6CFE
RGBrgb(172, 108, 254)
HSLhsl(266, 99%, 71%)
HSVhsv(266, 57%, 100%)
CMYKcmyk(32.3%, 57.5%, 0%, 0.4%)
CIE-LABlab(58.65, 53.74, -63.58)
CIE-LCHlch(58.65, 83.25, 310.20°)
OKLaboklab(66.64% 0.1086 -0.1801)
OKLCHoklch(66.64% 0.21 301.1)
XYZxyz(40.2610, 26.6514, 96.7698)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6CFE #BEFE6C
analogous
#6C75FE #AC6CFE #F56CFE
triadic
#AC6CFE #FEAC6C #6CFEAC
tetradic
#AC6CFE #FE6C75 #BEFE6C #6CFEF5
square
#AC6CFE #FE6C75 #BEFE6C #6CFEF5
split-complementary
#AC6CFE #FEF56C #75FE6C
monochromatic
#6902EE #8A2FFE #AC6CFE #CEA9FE #EEE1FF

Accessibility & contrast

On white

3.32
#AC6CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AC6CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6CFE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6CFE#FFFFFF#000000##000000
##AC6CFE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#248CFF
Deuteranopia (green-blind)
#428CFB
Tritanopia (blue-blind)
#9B8AAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac6cfe;
/* rgb */ color: rgb(172, 108, 254);
/* oklch */ color: oklch(66.6% 0.210 301.1);
Tailwind
colors: {
  custom: {
    50: '#c998ff',
    500: '#ac6cfe',
    950: '#000000',
  },
}
SCSS
$custom: #ac6cfe;
$custom-light: #c998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6cfe",
  "rgb": {
    "r": 172,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 266.301,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66636,
    "c": 0.21025,
    "h": 301.1
  },
  "luminance": 0.26652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC6CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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