#AC8DFC#AC8DFC

#AC8DFC is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.8% C 0.159 H 294.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AC8DFC
RGBrgb(172, 141, 252)
HSLhsl(257, 95%, 77%)
HSVhsv(257, 44%, 99%)
CMYKcmyk(31.7%, 44%, 0%, 1.2%)
CIE-LABlab(65.63, 35.24, -51.36)
CIE-LCHlch(65.63, 62.28, 304.46°)
OKLaboklab(71.79% 0.0671 -0.1443)
OKLCHoklch(71.79% 0.159 294.9)
XYZxyz(44.1044, 34.8480, 96.4793)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DFC #DDFC8D
analogous
#8DA6FC #AC8DFC #E48DFC
triadic
#AC8DFC #FCAC8D #8DFCAC
tetradic
#AC8DFC #FC8DA6 #DDFC8D #8DFCE4
square
#AC8DFC #FC8DA6 #DDFC8D #8DFCE4
split-complementary
#AC8DFC #FCE48D #A6FC8D
monochromatic
#5516F9 #8151FA #AC8DFC #D7C9FE #E9E1FE

Accessibility & contrast

On white

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

On black

7.97
#AC8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DFC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DFC#FFFFFF#000000##000000
##AC8DFC1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#9AA2B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8dfc;
/* rgb */ color: rgb(172, 141, 252);
/* oklch */ color: oklch(71.8% 0.159 294.9);
Tailwind
colors: {
  custom: {
    50: '#c7aefe',
    500: '#ac8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #ac8dfc;
$custom-light: #c7aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8dfc",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 256.757,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.15913,
    "h": 294.9
  },
  "luminance": 0.34849
}

Semantic roles & 50–950 ramp

primary
#AC8DFC
secondary
#EDF6D5
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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