#AC8FE8#AC8FE8

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

Color values

HEX#AC8FE8
RGBrgb(172, 143, 232)
HSLhsl(260, 66%, 74%)
HSVhsv(260, 38%, 91%)
CMYKcmyk(25.9%, 38.4%, 0%, 9%)
CIE-LABlab(65.15, 29.21, -41.12)
CIE-LCHlch(65.15, 50.44, 305.39°)
OKLaboklab(71.12% 0.061 -0.1146)
OKLCHoklch(71.12% 0.13 298)
XYZxyz(41.3978, 34.2414, 80.7565)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8FE8 #CBE88F
analogous
#8F9EE8 #AC8FE8 #D98FE8
triadic
#AC8FE8 #E8AC8F #8FE8AC
tetradic
#AC8FE8 #E88F9E #CBE88F #8FE8D9
square
#AC8FE8 #E88F9E #CBE88F #8FE8D9
split-complementary
#AC8FE8 #E8D98F #9EE88F
monochromatic
#612BD2 #865CDE #AC8FE8 #D2C2F2 #ECE6FA

Accessibility & contrast

On white

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

On black

7.85
#AC8FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8FE8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8FE8#FFFFFF#000000##000000
##AC8FE81.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789EEB
Deuteranopia (green-blind)
#7D9DE6
Tritanopia (blue-blind)
#A09EB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8fe8;
/* rgb */ color: rgb(172, 143, 232);
/* oklch */ color: oklch(71.1% 0.130 298.0);
Tailwind
colors: {
  custom: {
    50: '#c6b0ef',
    500: '#ac8fe8',
    950: '#000000',
  },
}
SCSS
$custom: #ac8fe8;
$custom-light: #c6b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8fe8",
  "rgb": {
    "r": 172,
    "g": 143,
    "b": 232
  },
  "hsl": {
    "h": 259.551,
    "s": 65.926,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7112,
    "c": 0.12978,
    "h": 298
  },
  "luminance": 0.34242
}

Semantic roles & 50–950 ramp

primary
#AC8FE8
secondary
#EAF1DA
accent
#CE1892
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AC8FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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