#AC8DFE#AC8DFE

#AC8DFE is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.9% C 0.162 H 294.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AC8DFE
RGBrgb(172, 141, 254)
HSLhsl(256, 98%, 77%)
HSVhsv(256, 44%, 100%)
CMYKcmyk(32.3%, 44.5%, 0%, 0.4%)
CIE-LABlab(65.73, 35.74, -52.29)
CIE-LCHlch(65.73, 63.34, 304.35°)
OKLaboklab(71.9% 0.0674 -0.147)
OKLCHoklch(71.9% 0.162 294.6)
XYZxyz(44.4230, 34.9754, 98.1572)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DFE #DFFE8D
analogous
#8DA7FE #AC8DFE #E48DFE
triadic
#AC8DFE #FEAC8D #8DFEAC
tetradic
#AC8DFE #FE8DA7 #DFFE8D #8DFEE4
square
#AC8DFE #FE8DA7 #DFFE8D #8DFEE4
split-complementary
#AC8DFE #FEE48D #A7FE8D
monochromatic
#5414FD #8050FD #AC8DFE #D8CAFF #E9E1FF

Accessibility & contrast

On white

2.63
#AC8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AC8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DFE
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DFE#FFFFFF#000000##000000
##AC8DFE1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#99A2B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ac8dfe;
/* rgb */ color: rgb(172, 141, 254);
/* oklch */ color: oklch(71.9% 0.162 294.6);
Tailwind
colors: {
  custom: {
    50: '#c8aeff',
    500: '#ac8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #ac8dfe;
$custom-light: #c8aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8dfe",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 256.46,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71896,
    "c": 0.16173,
    "h": 294.6
  },
  "luminance": 0.34976
}

Semantic roles & 50–950 ramp

primary
#AC8DFE
secondary
#EDF7D4
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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