#AC8CE2#AC8CE2

#AC8CE2 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.3% C 0.127 H 300.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AC8CE2
RGBrgb(172, 140, 226)
HSLhsl(262, 60%, 72%)
HSVhsv(262, 38%, 89%)
CMYKcmyk(23.9%, 38.1%, 0%, 11.4%)
CIE-LABlab(64.18, 29.47, -39.33)
CIE-LCHlch(64.18, 49.15, 306.85°)
OKLaboklab(70.29% 0.0639 -0.1094)
OKLCHoklch(70.29% 0.127 300.3)
XYZxyz(40.1158, 33.0177, 76.1964)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CE2 #C2E28C
analogous
#8C97E2 #AC8CE2 #D78CE2
triadic
#AC8CE2 #E2AC8C #8CE2AC
tetradic
#AC8CE2 #E28C97 #C2E28C #8CE2D7
square
#AC8CE2 #E28C97 #C2E28C #8CE2D7
split-complementary
#AC8CE2 #E2D78C #97E28C
monochromatic
#6731C3 #895BD6 #AC8CE2 #CFBDEE #EDE7F9

Accessibility & contrast

On white

2.76
#AC8CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#AC8CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CE2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CE2#FFFFFF#000000##000000
##AC8CE21.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779BE5
Deuteranopia (green-blind)
#7D9BE0
Tritanopia (blue-blind)
#A29AAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac8ce2;
/* rgb */ color: rgb(172, 140, 226);
/* oklch */ color: oklch(70.3% 0.127 300.3);
Tailwind
colors: {
  custom: {
    50: '#c6aeeb',
    500: '#ac8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ce2;
$custom-light: #c6aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ce2",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 262.326,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70289,
    "c": 0.12671,
    "h": 300.3
  },
  "luminance": 0.33018
}

Semantic roles & 50–950 ramp

primary
#AC8CE2
secondary
#E8F0DA
accent
#C71E88
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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