#AC8CF8#AC8CF8

#AC8CF8 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.4% C 0.155 H 295.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#AC8CF8
RGBrgb(172, 140, 248)
HSLhsl(258, 89%, 76%)
HSVhsv(258, 44%, 97%)
CMYKcmyk(30.6%, 43.5%, 0%, 2.7%)
CIE-LABlab(65.20, 34.81, -49.84)
CIE-LCHlch(65.20, 60.79, 304.93°)
OKLaboklab(71.4% 0.0678 -0.1399)
OKLCHoklch(71.4% 0.155 295.9)
XYZxyz(43.3305, 34.3035, 93.1271)
Luminance0.3430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CF8 #D8F88C
analogous
#8CA2F8 #AC8CF8 #E28CF8
triadic
#AC8CF8 #F8AC8C #8CF8AC
tetradic
#AC8CF8 #F88CA2 #D8F88C #8CF8E2
square
#AC8CF8 #F88CA2 #D8F88C #8CF8E2
split-complementary
#AC8CF8 #F8E28C #A2F88C
monochromatic
#5919F1 #8252F4 #AC8CF8 #D6C6FC #EAE2FD

Accessibility & contrast

On white

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

On black

7.86
#AC8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CF8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CF8#FFFFFF#000000##000000
##AC8CF81.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#9BA0B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8cf8;
/* rgb */ color: rgb(172, 140, 248);
/* oklch */ color: oklch(71.4% 0.155 295.9);
Tailwind
colors: {
  custom: {
    50: '#c7aefb',
    500: '#ac8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #ac8cf8;
$custom-light: #c7aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8cf8",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 257.778,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71402,
    "c": 0.15546,
    "h": 295.9
  },
  "luminance": 0.34304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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