#AC8CE8#AC8CE8

#AC8CE8 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.6% C 0.135 H 298.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#AC8CE8
RGBrgb(172, 140, 232)
HSLhsl(261, 67%, 73%)
HSVhsv(261, 40%, 91%)
CMYKcmyk(25.9%, 39.7%, 0%, 9%)
CIE-LABlab(64.45, 30.90, -42.23)
CIE-LCHlch(64.45, 52.33, 306.19°)
OKLaboklab(70.58% 0.0651 -0.1178)
OKLCHoklch(70.58% 0.135 298.9)
XYZxyz(40.9535, 33.3528, 80.6084)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CE8 #C8E88C
analogous
#8C9AE8 #AC8CE8 #DA8CE8
triadic
#AC8CE8 #E8AC8C #8CE8AC
tetradic
#AC8CE8 #E88C9A #C8E88C #8CE8DA
square
#AC8CE8 #E88C9A #C8E88C #8CE8DA
split-complementary
#AC8CE8 #E8DA8C #9AE88C
monochromatic
#632AD0 #8759DE #AC8CE8 #D1BFF2 #EDE5FA

Accessibility & contrast

On white

2.74
#AC8CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#AC8CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CE8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CE8#FFFFFF#000000##000000
##AC8CE81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#7A9CE6
Tritanopia (blue-blind)
#A09CAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac8ce8;
/* rgb */ color: rgb(172, 140, 232);
/* oklch */ color: oklch(70.6% 0.135 298.9);
Tailwind
colors: {
  custom: {
    50: '#c6aeef',
    500: '#ac8ce8',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ce8;
$custom-light: #c6aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ce8",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 260.87,
    "s": 66.667,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70582,
    "c": 0.13458,
    "h": 298.9
  },
  "luminance": 0.33353
}

Semantic roles & 50–950 ramp

primary
#AC8CE8
secondary
#E9F1DA
accent
#CF178F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC8CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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