#AC8EEA#AC8EEA

#AC8EEA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.0% C 0.134 H 297.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#AC8EEA
RGBrgb(172, 142, 234)
HSLhsl(260, 69%, 74%)
HSVhsv(260, 39%, 92%)
CMYKcmyk(26.5%, 39.3%, 0%, 8.2%)
CIE-LABlab(65.01, 30.25, -42.45)
CIE-LCHlch(65.01, 52.13, 305.48°)
OKLaboklab(71.04% 0.0628 -0.1184)
OKLCHoklch(71.04% 0.134 297.9)
XYZxyz(41.5341, 34.0568, 82.2114)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EEA #CCEA8E
analogous
#8E9EEA #AC8EEA #DA8EEA
triadic
#AC8EEA #EAAC8E #8EEAAC
tetradic
#AC8EEA #EA8E9E #CCEA8E #8EEADA
square
#AC8EEA #EA8E9E #CCEA8E #8EEADA
split-complementary
#AC8EEA #EADA8E #9EEA8E
monochromatic
#6128D6 #865AE0 #AC8EEA #D2C2F4 #ECE5FA

Accessibility & contrast

On white

2.69
#AC8EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#AC8EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EEA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EEA#FFFFFF#000000##000000
##AC8EEA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#A09EB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8eea;
/* rgb */ color: rgb(172, 142, 234);
/* oklch */ color: oklch(71.0% 0.134 297.9);
Tailwind
colors: {
  custom: {
    50: '#c6aff1',
    500: '#ac8eea',
    950: '#000000',
  },
}
SCSS
$custom: #ac8eea;
$custom-light: #c6aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8eea",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 259.565,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71038,
    "c": 0.13402,
    "h": 297.9
  },
  "luminance": 0.34057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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