#AC8AEB#AC8AEB

#AC8AEB is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.4% C 0.142 H 298.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AC8AEB
RGBrgb(172, 138, 235)
HSLhsl(261, 71%, 73%)
HSVhsv(261, 41%, 92%)
CMYKcmyk(26.8%, 41.3%, 0%, 7.8%)
CIE-LABlab(64.12, 32.75, -44.40)
CIE-LCHlch(64.12, 55.17, 306.41°)
OKLaboklab(70.38% 0.0684 -0.1241)
OKLCHoklch(70.38% 0.142 298.9)
XYZxyz(41.0937, 32.9455, 82.7753)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8AEB #C9EB8A
analogous
#8A98EB #AC8AEB #DC8AEB
triadic
#AC8AEB #EBAC8A #8AEBAC
tetradic
#AC8AEB #EB8A98 #C9EB8A #8AEBDC
square
#AC8AEB #EB8A98 #C9EB8A #8AEBDC
split-complementary
#AC8AEB #EBDC8A #98EB8A
monochromatic
#6325D6 #8756E2 #AC8AEB #D1BEF4 #ECE5FB

Accessibility & contrast

On white

2.77
#AC8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AC8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8AEB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8AEB#FFFFFF#000000##000000
##AC8AEB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#A09BAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ac8aeb;
/* rgb */ color: rgb(172, 138, 235);
/* oklch */ color: oklch(70.4% 0.142 298.9);
Tailwind
colors: {
  custom: {
    50: '#c7acf2',
    500: '#ac8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ac8aeb;
$custom-light: #c7acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8aeb",
  "rgb": {
    "r": 172,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 261.031,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70379,
    "c": 0.14167,
    "h": 298.9
  },
  "luminance": 0.32946
}

Semantic roles & 50–950 ramp

primary
#AC8AEB
secondary
#E9F2D9
accent
#D3138F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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