#AC8EF6#AC8EF6

#AC8EF6 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.6% C 0.150 H 295.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#AC8EF6
RGBrgb(172, 142, 246)
HSLhsl(257, 85%, 76%)
HSVhsv(257, 42%, 96%)
CMYKcmyk(30.1%, 42.3%, 0%, 3.5%)
CIE-LABlab(65.57, 33.19, -48.17)
CIE-LCHlch(65.57, 58.49, 304.57°)
OKLaboklab(71.65% 0.0649 -0.135)
OKLCHoklch(71.65% 0.15 295.7)
XYZxyz(43.3167, 34.7699, 91.6000)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EF6 #D8F68E
analogous
#8EA4F6 #AC8EF6 #E08EF6
triadic
#AC8EF6 #F6AC8E #8EF6AC
tetradic
#AC8EF6 #F68EA4 #D8F68E #8EF6E0
square
#AC8EF6 #F68EA4 #D8F68E #8EF6E0
split-complementary
#AC8EF6 #F6E08E #A4F68E
monochromatic
#591DED #8255F1 #AC8EF6 #D6C7FB #EAE3FD

Accessibility & contrast

On white

2.64
#AC8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#AC8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EF6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EF6#FFFFFF#000000##000000
##AC8EF61.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FA
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#9CA1B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8ef6;
/* rgb */ color: rgb(172, 142, 246);
/* oklch */ color: oklch(71.6% 0.150 295.7);
Tailwind
colors: {
  custom: {
    50: '#c7aff9',
    500: '#ac8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ef6;
$custom-light: #c7aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ef6",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 257.308,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71647,
    "c": 0.14979,
    "h": 295.7
  },
  "luminance": 0.3477
}

Semantic roles & 50–950 ramp

primary
#AC8EF6
secondary
#ECF5D6
accent
#E204A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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