#AC8DF8#AC8DF8

#AC8DF8 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.6% C 0.154 H 295.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AC8DF8
RGBrgb(172, 141, 248)
HSLhsl(257, 88%, 76%)
HSVhsv(257, 43%, 97%)
CMYKcmyk(30.6%, 43.1%, 0%, 2.7%)
CIE-LABlab(65.43, 34.24, -49.48)
CIE-LCHlch(65.43, 60.17, 304.69°)
OKLaboklab(71.58% 0.0665 -0.1388)
OKLCHoklch(71.58% 0.154 295.6)
XYZxyz(43.4772, 34.5971, 93.1760)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DF8 #D9F88D
analogous
#8DA4F8 #AC8DF8 #E28DF8
triadic
#AC8DF8 #F8AC8D #8DF8AC
tetradic
#AC8DF8 #F88DA4 #D9F88D #8DF8E2
square
#AC8DF8 #F88DA4 #D9F88D #8DF8E2
split-complementary
#AC8DF8 #F8E28D #A4F88D
monochromatic
#581AF1 #8253F4 #AC8DF8 #D6C7FC #EAE2FD

Accessibility & contrast

On white

2.65
#AC8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#AC8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DF8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DF8#FFFFFF#000000##000000
##AC8DF81.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#729DF5
Tritanopia (blue-blind)
#9BA1B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8df8;
/* rgb */ color: rgb(172, 141, 248);
/* oklch */ color: oklch(71.6% 0.154 295.6);
Tailwind
colors: {
  custom: {
    50: '#c7aefb',
    500: '#ac8df8',
    950: '#000000',
  },
}
SCSS
$custom: #ac8df8;
$custom-light: #c7aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8df8",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 257.383,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71577,
    "c": 0.15393,
    "h": 295.6
  },
  "luminance": 0.34598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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