#AC6DF6#AC6DF6

#AC6DF6 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.200 H 302.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AC6DF6
RGBrgb(172, 109, 246)
HSLhsl(268, 88%, 70%)
HSVhsv(268, 56%, 96%)
CMYKcmyk(30.1%, 55.7%, 0%, 3.5%)
CIE-LABlab(58.38, 51.30, -59.60)
CIE-LCHlch(58.38, 78.64, 310.72°)
OKLaboklab(66.29% 0.1073 -0.1684)
OKLCHoklch(66.29% 0.2 302.5)
XYZxyz(39.1127, 26.3617, 90.1987)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6DF6 #B7F66D
analogous
#6D73F6 #AC6DF6 #F06DF6
triadic
#AC6DF6 #F6AC6D #6DF6AC
tetradic
#AC6DF6 #F66D73 #B7F66D #6DF6F0
square
#AC6DF6 #F66D73 #B7F66D #6DF6F0
split-complementary
#AC6DF6 #F6F06D #73F66D
monochromatic
#6C0EDB #8B33F2 #AC6DF6 #CDA7FA #EEE0FD

Accessibility & contrast

On white

3.35
#AC6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AC6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6DF6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6DF6#FFFFFF#000000##000000
##AC6DF61.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFB
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#9E88A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac6df6;
/* rgb */ color: rgb(172, 109, 246);
/* oklch */ color: oklch(66.3% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#c899fa',
    500: '#ac6df6',
    950: '#000000',
  },
}
SCSS
$custom: #ac6df6;
$custom-light: #c899fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6df6",
  "rgb": {
    "r": 172,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 267.591,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.19965,
    "h": 302.5
  },
  "luminance": 0.26362
}

Semantic roles & 50–950 ramp

primary
#AC6DF6
secondary
#E1F3CC
accent
#E5017C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AC6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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