#AC8DEB#AC8DEB

#AC8DEB is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.137 H 298.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#AC8DEB
RGBrgb(172, 141, 235)
HSLhsl(260, 70%, 74%)
HSVhsv(260, 40%, 92%)
CMYKcmyk(26.8%, 40%, 0%, 7.8%)
CIE-LABlab(64.82, 31.06, -43.30)
CIE-LCHlch(64.82, 53.29, 305.65°)
OKLaboklab(70.91% 0.0643 -0.1209)
OKLCHoklch(70.91% 0.137 298)
XYZxyz(41.5300, 33.8182, 82.9208)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DEB #CCEB8D
analogous
#8D9DEB #AC8DEB #DB8DEB
triadic
#AC8DEB #EBAC8D #8DEBAC
tetradic
#AC8DEB #EB8D9D #CCEB8D #8DEBDB
square
#AC8DEB #EB8D9D #CCEB8D #8DEBDB
split-complementary
#AC8DEB #EBDB8D #9DEB8D
monochromatic
#6126D8 #8659E2 #AC8DEB #D2C1F4 #ECE5FA

Accessibility & contrast

On white

2.70
#AC8DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#AC8DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DEB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DEB#FFFFFF#000000##000000
##AC8DEB1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#9F9DB1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac8deb;
/* rgb */ color: rgb(172, 141, 235);
/* oklch */ color: oklch(70.9% 0.137 298.0);
Tailwind
colors: {
  custom: {
    50: '#c6aef2',
    500: '#ac8deb',
    950: '#000000',
  },
}
SCSS
$custom: #ac8deb;
$custom-light: #c6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8deb",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 259.787,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7091,
    "c": 0.13692,
    "h": 298
  },
  "luminance": 0.33819
}

Semantic roles & 50–950 ramp

primary
#AC8DEB
secondary
#EAF2D9
accent
#D21393
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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