#AC8DF6#AC8DF6

#AC8DF6 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.151 H 295.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#AC8DF6
RGBrgb(172, 141, 246)
HSLhsl(258, 85%, 76%)
HSVhsv(258, 43%, 96%)
CMYKcmyk(30.1%, 42.7%, 0%, 3.5%)
CIE-LABlab(65.34, 33.75, -48.53)
CIE-LCHlch(65.34, 59.11, 304.81°)
OKLaboklab(71.47% 0.0662 -0.1361)
OKLCHoklch(71.47% 0.151 295.9)
XYZxyz(43.1686, 34.4737, 91.5507)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DF6 #D7F68D
analogous
#8DA2F6 #AC8DF6 #E08DF6
triadic
#AC8DF6 #F6AC8D #8DF6AC
tetradic
#AC8DF6 #F68DA2 #D7F68D #8DF6E0
square
#AC8DF6 #F68DA2 #D7F68D #8DF6E0
split-complementary
#AC8DF6 #F6E08D #A2F68D
monochromatic
#591CED #8354F2 #AC8DF6 #D5C6FA #EAE3FD

Accessibility & contrast

On white

2.66
#AC8DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#AC8DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DF6
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DF6#FFFFFF#000000##000000
##AC8DF61.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#9CA0B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8df6;
/* rgb */ color: rgb(172, 141, 246);
/* oklch */ color: oklch(71.5% 0.151 295.9);
Tailwind
colors: {
  custom: {
    50: '#c7aef9',
    500: '#ac8df6',
    950: '#000000',
  },
}
SCSS
$custom: #ac8df6;
$custom-light: #c7aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8df6",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 257.714,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71472,
    "c": 0.15132,
    "h": 295.9
  },
  "luminance": 0.34474
}

Semantic roles & 50–950 ramp

primary
#AC8DF6
secondary
#ECF5D6
accent
#E204A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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