#AC8EF8#AC8EF8

#AC8EF8 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.152 H 295.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AC8EF8
RGBrgb(172, 142, 248)
HSLhsl(257, 88%, 76%)
HSVhsv(257, 43%, 97%)
CMYKcmyk(30.6%, 42.7%, 0%, 2.7%)
CIE-LABlab(65.67, 33.68, -49.11)
CIE-LCHlch(65.67, 59.55, 304.44°)
OKLaboklab(71.75% 0.0652 -0.1377)
OKLCHoklch(71.75% 0.152 295.3)
XYZxyz(43.6253, 34.8933, 93.2254)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8EF8 #DAF88E
analogous
#8EA5F8 #AC8EF8 #E18EF8
triadic
#AC8EF8 #F8AC8E #8EF8AC
tetradic
#AC8EF8 #F88EA5 #DAF88E #8EF8E1
square
#AC8EF8 #F88EA5 #DAF88E #8EF8E1
split-complementary
#AC8EF8 #F8E18E #A5F88E
monochromatic
#571BF1 #8254F4 #AC8EF8 #D6C8FC #EAE2FD

Accessibility & contrast

On white

2.63
#AC8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#AC8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8EF8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8EF8#FFFFFF#000000##000000
##AC8EF81.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#9BA1B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8ef8;
/* rgb */ color: rgb(172, 142, 248);
/* oklch */ color: oklch(71.8% 0.152 295.3);
Tailwind
colors: {
  custom: {
    50: '#c7affb',
    500: '#ac8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ef8;
$custom-light: #c7affb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ef8",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 256.981,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71751,
    "c": 0.1524,
    "h": 295.3
  },
  "luminance": 0.34894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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