#AC8DFF#AC8DFF

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

Color values

HEX#AC8DFF
RGBrgb(172, 141, 255)
HSLhsl(256, 100%, 78%)
HSVhsv(256, 45%, 100%)
CMYKcmyk(32.5%, 44.7%, 0%, 0%)
CIE-LABlab(65.78, 35.99, -52.76)
CIE-LCHlch(65.78, 63.87, 304.30°)
OKLaboklab(71.95% 0.0675 -0.1484)
OKLCHoklch(71.95% 0.163 294.5)
XYZxyz(44.5836, 35.0396, 99.0028)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DFF #E0FF8D
analogous
#8DA7FF #AC8DFF #E58DFF
triadic
#AC8DFF #FFAC8D #8DFFAC
tetradic
#AC8DFF #FF8DA7 #E0FF8D #8DFFE5
square
#AC8DFF #FF8DA7 #E0FF8D #8DFFE5
split-complementary
#AC8DFF #FFE58D #A7FF8D
monochromatic
#5313FF #7F50FF #AC8DFF #D9CAFF #E9E0FF

Accessibility & contrast

On white

2.62
#AC8DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AC8DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DFF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DFF#FFFFFF#000000##000000
##AC8DFF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#6D9EFC
Tritanopia (blue-blind)
#99A2BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ac8dff;
/* rgb */ color: rgb(172, 141, 255);
/* oklch */ color: oklch(72.0% 0.163 294.5);
Tailwind
colors: {
  custom: {
    50: '#c8afff',
    500: '#ac8dff',
    950: '#000000',
  },
}
SCSS
$custom: #ac8dff;
$custom-light: #c8afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8dff",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 256.316,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7195,
    "c": 0.16302,
    "h": 294.5
  },
  "luminance": 0.3504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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