#AC6DF2#AC6DF2

#AC6DF2 is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.0% C 0.195 H 303.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AC6DF2
RGBrgb(172, 109, 242)
HSLhsl(268, 84%, 69%)
HSVhsv(268, 55%, 95%)
CMYKcmyk(28.9%, 55%, 0%, 5.1%)
CIE-LABlab(58.15, 50.36, -57.74)
CIE-LCHlch(58.15, 76.62, 311.09°)
OKLaboklab(66.04% 0.1072 -0.1629)
OKLCHoklch(66.04% 0.195 303.3)
XYZxyz(38.5053, 26.1188, 87.0001)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6DF2 #B3F26D
analogous
#6D71F2 #AC6DF2 #EF6DF2
triadic
#AC6DF2 #F2AC6D #6DF2AC
tetradic
#AC6DF2 #F26D71 #B3F26D #6DF2EF
square
#AC6DF2 #F26D71 #B3F26D #6DF2EF
split-complementary
#AC6DF2 #F2EF6D #71F26D
monochromatic
#6D13D2 #8C35ED #AC6DF2 #CCA5F7 #ECDDFC

Accessibility & contrast

On white

3.37
#AC6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AC6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6DF2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6DF2#FFFFFF#000000##000000
##AC6DF21.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#508CEF
Tritanopia (blue-blind)
#9F87A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac6df2;
/* rgb */ color: rgb(172, 109, 242);
/* oklch */ color: oklch(66.0% 0.195 303.3);
Tailwind
colors: {
  custom: {
    50: '#c899f7',
    500: '#ac6df2',
    950: '#000000',
  },
}
SCSS
$custom: #ac6df2;
$custom-light: #c899f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6df2",
  "rgb": {
    "r": 172,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 268.421,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.19503,
    "h": 303.3
  },
  "luminance": 0.26119
}

Semantic roles & 50–950 ramp

primary
#AC6DF2
secondary
#DEF1CA
accent
#E00579
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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