#AC8DEC#AC8DEC

#AC8DEC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.138 H 297.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#AC8DEC
RGBrgb(172, 141, 236)
HSLhsl(260, 71%, 74%)
HSVhsv(260, 40%, 93%)
CMYKcmyk(27.1%, 40.3%, 0%, 7.5%)
CIE-LABlab(64.86, 31.30, -43.78)
CIE-LCHlch(64.86, 53.82, 305.56°)
OKLaboklab(70.96% 0.0645 -0.1223)
OKLCHoklch(70.96% 0.138 297.8)
XYZxyz(41.6749, 33.8762, 83.6838)
Luminance0.3388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DEC #CDEC8D
analogous
#8D9EEC #AC8DEC #DC8DEC
triadic
#AC8DEC #ECAC8D #8DECAC
tetradic
#AC8DEC #EC8D9E #CDEC8D #8DECDC
square
#AC8DEC #EC8D9E #CDEC8D #8DECDC
split-complementary
#AC8DEC #ECDC8D #9EEC8D
monochromatic
#6024DA #8659E3 #AC8DEC #D2C1F5 #ECE5FB

Accessibility & contrast

On white

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

On black

7.78
#AC8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DEC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DEC#FFFFFF#000000##000000
##AC8DEC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac8dec;
/* rgb */ color: rgb(172, 141, 236);
/* oklch */ color: oklch(71.0% 0.138 297.8);
Tailwind
colors: {
  custom: {
    50: '#c6aef2',
    500: '#ac8dec',
    950: '#000000',
  },
}
SCSS
$custom: #ac8dec;
$custom-light: #c6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8dec",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 259.579,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7096,
    "c": 0.13823,
    "h": 297.8
  },
  "luminance": 0.33877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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