#AC8EFE#AC8EFE

#AC8EFE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.1% C 0.160 H 294.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AC8EFE
RGBrgb(172, 142, 254)
HSLhsl(256, 98%, 78%)
HSVhsv(256, 44%, 100%)
CMYKcmyk(32.3%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.96, 35.18, -51.93)
CIE-LCHlch(65.96, 62.72, 304.12°)
OKLaboklab(72.07% 0.0661 -0.146)
OKLCHoklch(72.07% 0.16 294.4)
XYZxyz(44.5711, 35.2717, 98.2066)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EFE #E0FE8E
analogous
#8EA8FE #AC8EFE #E48EFE
triadic
#AC8EFE #FEAC8E #8EFEAC
tetradic
#AC8EFE #FE8EA8 #E0FE8E #8EFEE4
square
#AC8EFE #FE8EA8 #E0FE8E #8EFEE4
split-complementary
#AC8EFE #FEE48E #A8FE8E
monochromatic
#5315FD #7F51FD #AC8EFE #D9CBFF #E9E1FF

Accessibility & contrast

On white

2.61
#AC8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AC8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EFE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EFE#FFFFFF#000000##000000
##AC8EFE1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#99A3BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ac8efe;
/* rgb */ color: rgb(172, 142, 254);
/* oklch */ color: oklch(72.1% 0.160 294.4);
Tailwind
colors: {
  custom: {
    50: '#c7afff',
    500: '#ac8efe',
    950: '#000000',
  },
}
SCSS
$custom: #ac8efe;
$custom-light: #c7afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8efe",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 256.071,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72069,
    "c": 0.16023,
    "h": 294.4
  },
  "luminance": 0.35272
}

Semantic roles & 50–950 ramp

primary
#AC8EFE
secondary
#EEF7D4
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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