#AC6AF8#AC6AF8

#AC6AF8 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.0% C 0.206 H 302.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AC6AF8
RGBrgb(172, 106, 248)
HSLhsl(268, 91%, 69%)
HSVhsv(268, 57%, 97%)
CMYKcmyk(30.6%, 57.3%, 0%, 2.7%)
CIE-LABlab(57.90, 53.35, -61.47)
CIE-LCHlch(57.90, 81.39, 310.95°)
OKLaboklab(65.97% 0.111 -0.1739)
OKLCHoklch(65.97% 0.206 302.5)
XYZxyz(39.1067, 25.8560, 91.7192)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC6AF8 #B6F86A
analogous
#6A6FF8 #AC6AF8 #F36AF8
triadic
#AC6AF8 #F8AC6A #6AF8AC
tetradic
#AC6AF8 #F86A6F #B6F86A #6AF8F3
square
#AC6AF8 #F86A6F #B6F86A #6AF8F3
split-complementary
#AC6AF8 #F8F36A #6FF86A
monochromatic
#6C0ADD #8B30F5 #AC6AF8 #CDA4FB #EDDFFD

Accessibility & contrast

On white

3.40
#AC6AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AC6AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC6AF8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC6AF8#FFFFFF#000000##000000
##AC6AF81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#468BF5
Tritanopia (blue-blind)
#9D87A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac6af8;
/* rgb */ color: rgb(172, 106, 248);
/* oklch */ color: oklch(66.0% 0.206 302.5);
Tailwind
colors: {
  custom: {
    50: '#c997fb',
    500: '#ac6af8',
    950: '#000000',
  },
}
SCSS
$custom: #ac6af8;
$custom-light: #c997fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac6af8",
  "rgb": {
    "r": 172,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 267.887,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65973,
    "c": 0.20625,
    "h": 302.5
  },
  "luminance": 0.25856
}

Semantic roles & 50–950 ramp

primary
#AC6AF8
secondary
#E0F3CA
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AC6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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