#AC6DF8#AC6DF8

#AC6DF8 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.4% C 0.202 H 302.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AC6DF8
RGBrgb(172, 109, 248)
HSLhsl(267, 91%, 70%)
HSVhsv(267, 56%, 97%)
CMYKcmyk(30.6%, 56%, 0%, 2.7%)
CIE-LABlab(58.49, 51.78, -60.52)
CIE-LCHlch(58.49, 79.65, 310.55°)
OKLaboklab(66.41% 0.1073 -0.1711)
OKLCHoklch(66.41% 0.202 302.1)
XYZxyz(39.4213, 26.4852, 91.8241)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6DF8 #B9F86D
analogous
#6D74F8 #AC6DF8 #F16DF8
triadic
#AC6DF8 #F8AC6D #6DF8AC
tetradic
#AC6DF8 #F86D74 #B9F86D #6DF8F1
square
#AC6DF8 #F86D74 #B9F86D #6DF8F1
split-complementary
#AC6DF8 #F8F16D #74F86D
monochromatic
#6B0BE0 #8B33F5 #AC6DF8 #CDA7FB #EEE2FE

Accessibility & contrast

On white

3.33
#AC6DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AC6DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6DF8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6DF8#FFFFFF#000000##000000
##AC6DF81.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFD
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#9D89A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac6df8;
/* rgb */ color: rgb(172, 109, 248);
/* oklch */ color: oklch(66.4% 0.202 302.1);
Tailwind
colors: {
  custom: {
    50: '#c999fb',
    500: '#ac6df8',
    950: '#000000',
  },
}
SCSS
$custom: #ac6df8;
$custom-light: #c999fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6df8",
  "rgb": {
    "r": 172,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 267.194,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.66408,
    "c": 0.20195,
    "h": 302.1
  },
  "luminance": 0.26485
}

Semantic roles & 50–950 ramp

primary
#AC6DF8
secondary
#E2F4CD
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AC6DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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