#AC8EEC#AC8EEC

#AC8EEC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.137 H 297.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AC8EEC
RGBrgb(172, 142, 236)
HSLhsl(259, 71%, 74%)
HSVhsv(259, 40%, 93%)
CMYKcmyk(27.1%, 39.8%, 0%, 7.5%)
CIE-LABlab(65.10, 30.74, -43.41)
CIE-LCHlch(65.10, 53.19, 305.30°)
OKLaboklab(71.14% 0.0631 -0.1212)
OKLCHoklch(71.14% 0.137 297.5)
XYZxyz(41.8230, 34.1724, 83.7331)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EEC #CEEC8E
analogous
#8E9FEC #AC8EEC #DB8EEC
triadic
#AC8EEC #ECAC8E #8EECAC
tetradic
#AC8EEC #EC8E9F #CEEC8E #8EECDB
square
#AC8EEC #EC8E9F #CEEC8E #8EECDB
split-complementary
#AC8EEC #ECDB8E #9FEC8E
monochromatic
#5F25DA #865AE3 #AC8EEC #D2C2F5 #ECE5FB

Accessibility & contrast

On white

2.68
#AC8EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AC8EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EEC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EEC#FFFFFF#000000##000000
##AC8EEC1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#7A9DEA
Tritanopia (blue-blind)
#9F9EB2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8eec;
/* rgb */ color: rgb(172, 142, 236);
/* oklch */ color: oklch(71.1% 0.137 297.5);
Tailwind
colors: {
  custom: {
    50: '#c6aff2',
    500: '#ac8eec',
    950: '#000000',
  },
}
SCSS
$custom: #ac8eec;
$custom-light: #c6aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8eec",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 259.149,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.13665,
    "h": 297.5
  },
  "luminance": 0.34173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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