#AC8EEF#AC8EEF

#AC8EEF is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.3% C 0.141 H 296.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AC8EEF
RGBrgb(172, 142, 239)
HSLhsl(259, 75%, 75%)
HSVhsv(259, 41%, 94%)
CMYKcmyk(28%, 40.6%, 0%, 6.3%)
CIE-LABlab(65.24, 31.47, -44.84)
CIE-LCHlch(65.24, 54.78, 305.06°)
OKLaboklab(71.29% 0.0637 -0.1253)
OKLCHoklch(71.29% 0.141 296.9)
XYZxyz(42.2625, 34.3482, 86.0479)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EEF #D1EF8E
analogous
#8EA0EF #AC8EEF #DD8EEF
triadic
#AC8EEF #EFAC8E #8EEFAC
tetradic
#AC8EEF #EF8EA0 #D1EF8E #8EEFDD
square
#AC8EEF #EF8EA0 #D1EF8E #8EEFDD
split-complementary
#AC8EEF #EFDD8E #A0EF8E
monochromatic
#5D23E0 #8558E7 #AC8EEF #D3C4F7 #EBE4FB

Accessibility & contrast

On white

2.67
#AC8EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AC8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EEF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EEF#FFFFFF#000000##000000
##AC8EEF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#9E9FB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8eef;
/* rgb */ color: rgb(172, 142, 239);
/* oklch */ color: oklch(71.3% 0.141 296.9);
Tailwind
colors: {
  custom: {
    50: '#c7aff4',
    500: '#ac8eef',
    950: '#000000',
  },
}
SCSS
$custom: #ac8eef;
$custom-light: #c7aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8eef",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 258.557,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.1406,
    "h": 296.9
  },
  "luminance": 0.34349
}

Semantic roles & 50–950 ramp

primary
#AC8EEF
secondary
#EBF3D8
accent
#D70E99
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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