#AC8EFD#AC8EFD

#AC8EFD is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.0% C 0.159 H 294.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#AC8EFD
RGBrgb(172, 142, 253)
HSLhsl(256, 97%, 77%)
HSVhsv(256, 44%, 99%)
CMYKcmyk(32%, 43.9%, 0%, 0.8%)
CIE-LABlab(65.91, 34.93, -51.46)
CIE-LCHlch(65.91, 62.19, 304.17°)
OKLaboklab(72.02% 0.066 -0.1446)
OKLCHoklch(72.02% 0.159 294.5)
XYZxyz(44.4114, 35.2078, 97.3654)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EFD #DFFD8E
analogous
#8EA8FD #AC8EFD #E38EFD
triadic
#AC8EFD #FDAC8E #8EFDAC
tetradic
#AC8EFD #FD8EA8 #DFFD8E #8EFDE3
square
#AC8EFD #FD8EA8 #DFFD8E #8EFDE3
split-complementary
#AC8EFD #FDE38E #A8FD8E
monochromatic
#5416FB #8052FC #AC8EFD #D8CAFE #E9E1FE

Accessibility & contrast

On white

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

On black

8.04
#AC8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EFD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EFD#FFFFFF#000000##000000
##AC8EFD1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#9AA3B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ac8efd;
/* rgb */ color: rgb(172, 142, 253);
/* oklch */ color: oklch(72.0% 0.159 294.5);
Tailwind
colors: {
  custom: {
    50: '#c7affe',
    500: '#ac8efd',
    950: '#000000',
  },
}
SCSS
$custom: #ac8efd;
$custom-light: #c7affe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8efd",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 256.216,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72016,
    "c": 0.15893,
    "h": 294.5
  },
  "luminance": 0.35209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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