#AC6DF5#AC6DF5

#AC6DF5 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.199 H 302.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC6DF5
RGBrgb(172, 109, 245)
HSLhsl(268, 87%, 69%)
HSVhsv(268, 56%, 96%)
CMYKcmyk(29.8%, 55.5%, 0%, 3.9%)
CIE-LABlab(58.32, 51.07, -59.13)
CIE-LCHlch(58.32, 78.13, 310.81°)
OKLaboklab(66.22% 0.1073 -0.167)
OKLCHoklch(66.22% 0.199 302.7)
XYZxyz(38.9596, 26.3005, 89.3925)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6DF5 #B6F56D
analogous
#6D72F5 #AC6DF5 #F06DF5
triadic
#AC6DF5 #F5AC6D #6DF5AC
tetradic
#AC6DF5 #F56D72 #B6F56D #6DF5F0
square
#AC6DF5 #F56D72 #B6F56D #6DF5F0
split-complementary
#AC6DF5 #F5F06D #72F56D
monochromatic
#6C0FD9 #8B34F1 #AC6DF5 #CDA6F9 #EDE0FD

Accessibility & contrast

On white

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

On black

6.26
#AC6DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6DF5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6DF5#FFFFFF#000000##000000
##AC6DF51.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BF9
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#9E88A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac6df5;
/* rgb */ color: rgb(172, 109, 245);
/* oklch */ color: oklch(66.2% 0.199 302.7);
Tailwind
colors: {
  custom: {
    50: '#c899f9',
    500: '#ac6df5',
    950: '#000000',
  },
}
SCSS
$custom: #ac6df5;
$custom-light: #c899f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6df5",
  "rgb": {
    "r": 172,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 267.794,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66225,
    "c": 0.1985,
    "h": 302.7
  },
  "luminance": 0.26301
}

Semantic roles & 50–950 ramp

primary
#AC6DF5
secondary
#E0F2CB
accent
#E4027B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC6DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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