#AC6AF6#AC6AF6

#AC6AF6 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.8% C 0.204 H 303.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC6AF6
RGBrgb(172, 106, 246)
HSLhsl(268, 89%, 69%)
HSVhsv(268, 57%, 96%)
CMYKcmyk(30.1%, 56.9%, 0%, 3.5%)
CIE-LABlab(57.78, 52.88, -60.55)
CIE-LCHlch(57.78, 80.39, 311.13°)
OKLaboklab(65.85% 0.111 -0.1712)
OKLCHoklch(65.85% 0.204 303)
XYZxyz(38.7981, 25.7326, 90.0938)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6AF6 #B4F66A
analogous
#6A6EF6 #AC6AF6 #F26AF6
triadic
#AC6AF6 #F6AC6A #6AF6AC
tetradic
#AC6AF6 #F66A6E #B4F66A #6AF6F2
square
#AC6AF6 #F66A6E #B4F66A #6AF6F2
split-complementary
#AC6AF6 #F6F26A #6EF66A
monochromatic
#6D0DD9 #8C30F3 #AC6AF6 #CCA4F9 #ECDDFD

Accessibility & contrast

On white

3.42
#AC6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AC6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6AF6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6AF6#FFFFFF#000000##000000
##AC6AF61.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89FB
Deuteranopia (green-blind)
#488BF3
Tritanopia (blue-blind)
#9E86A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac6af6;
/* rgb */ color: rgb(172, 106, 246);
/* oklch */ color: oklch(65.8% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#c997fa',
    500: '#ac6af6',
    950: '#000000',
  },
}
SCSS
$custom: #ac6af6;
$custom-light: #c997fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6af6",
  "rgb": {
    "r": 172,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 268.286,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.20397,
    "h": 303
  },
  "luminance": 0.25733
}

Semantic roles & 50–950 ramp

primary
#AC6AF6
secondary
#DFF2C9
accent
#E50079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AC6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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