#AC8CFA#AC8CFA

#AC8CFA is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.5% C 0.158 H 295.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#AC8CFA
RGBrgb(172, 140, 250)
HSLhsl(257, 92%, 76%)
HSVhsv(257, 44%, 98%)
CMYKcmyk(31.2%, 44%, 0%, 2%)
CIE-LABlab(65.30, 35.30, -50.78)
CIE-LCHlch(65.30, 61.85, 304.81°)
OKLaboklab(71.51% 0.0681 -0.1426)
OKLCHoklch(71.51% 0.158 295.5)
XYZxyz(43.6424, 34.4283, 94.7700)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CFA #DAFA8C
analogous
#8CA3FA #AC8CFA #E38CFA
triadic
#AC8CFA #FAAC8C #8CFAAC
tetradic
#AC8CFA #FA8CA3 #DAFA8C #8CFAE3
square
#AC8CFA #FA8CA3 #DAFA8C #8CFAE3
split-complementary
#AC8CFA #FAE38C #A3FA8C
monochromatic
#5717F5 #8251F7 #AC8CFA #D6C7FD #EAE2FE

Accessibility & contrast

On white

2.66
#AC8CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#AC8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CFA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CFA#FFFFFF#000000##000000
##AC8CFA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#9BA0B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8cfa;
/* rgb */ color: rgb(172, 140, 250);
/* oklch */ color: oklch(71.5% 0.158 295.5);
Tailwind
colors: {
  custom: {
    50: '#c7aefc',
    500: '#ac8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ac8cfa;
$custom-light: #c7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8cfa",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 257.455,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71508,
    "c": 0.15806,
    "h": 295.5
  },
  "luminance": 0.34429
}

Semantic roles & 50–950 ramp

primary
#AC8CFA
secondary
#ECF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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