#AC8EE2#AC8EE2

#AC8EE2 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.6% C 0.123 H 299.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#AC8EE2
RGBrgb(172, 142, 226)
HSLhsl(261, 59%, 72%)
HSVhsv(261, 37%, 89%)
CMYKcmyk(23.9%, 37.2%, 0%, 11.4%)
CIE-LABlab(64.65, 28.34, -38.59)
CIE-LCHlch(64.65, 47.88, 306.30°)
OKLaboklab(70.65% 0.0611 -0.1073)
OKLCHoklch(70.65% 0.123 299.7)
XYZxyz(40.4107, 33.6075, 76.2947)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EE2 #C4E28E
analogous
#8E9AE2 #AC8EE2 #D68EE2
triadic
#AC8EE2 #E2AC8E #8EE2AC
tetradic
#AC8EE2 #E28E9A #C4E28E #8EE2D6
square
#AC8EE2 #E28E9A #C4E28E #8EE2D6
split-complementary
#AC8EE2 #E2D68E #9AE28E
monochromatic
#6632C3 #885DD6 #AC8EE2 #D0BFEE #EDE7F9

Accessibility & contrast

On white

2.72
#AC8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#AC8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EE2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EE2#FFFFFF#000000##000000
##AC8EE21.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE5
Deuteranopia (green-blind)
#7F9CE0
Tritanopia (blue-blind)
#A29CAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac8ee2;
/* rgb */ color: rgb(172, 142, 226);
/* oklch */ color: oklch(70.6% 0.123 299.7);
Tailwind
colors: {
  custom: {
    50: '#c6afeb',
    500: '#ac8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ee2;
$custom-light: #c6afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ee2",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 261.429,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70649,
    "c": 0.12346,
    "h": 299.7
  },
  "luminance": 0.33608
}

Semantic roles & 50–950 ramp

primary
#AC8EE2
secondary
#E9F0DB
accent
#C71F8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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