#AC8DF9#AC8DF9

#AC8DF9 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.6% C 0.155 H 295.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#AC8DF9
RGBrgb(172, 141, 249)
HSLhsl(257, 90%, 76%)
HSVhsv(257, 43%, 98%)
CMYKcmyk(30.9%, 43.4%, 0%, 2.4%)
CIE-LABlab(65.48, 34.49, -49.95)
CIE-LCHlch(65.48, 60.70, 304.63°)
OKLaboklab(71.63% 0.0667 -0.1402)
OKLCHoklch(71.63% 0.155 295.4)
XYZxyz(43.6328, 34.6593, 93.9953)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8DF9 #DAF98D
analogous
#8DA4F9 #AC8DF9 #E28DF9
triadic
#AC8DF9 #F9AC8D #8DF9AC
tetradic
#AC8DF9 #F98DA4 #DAF98D #8DF9E2
square
#AC8DF9 #F98DA4 #DAF98D #8DF9E2
split-complementary
#AC8DF9 #F9E28D #A4F98D
monochromatic
#5719F3 #8253F6 #AC8DF9 #D6C7FC #EAE2FD

Accessibility & contrast

On white

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

On black

7.93
#AC8DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8DF9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8DF9#FFFFFF#000000##000000
##AC8DF91.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FD
Deuteranopia (green-blind)
#719EF6
Tritanopia (blue-blind)
#9BA1B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8df9;
/* rgb */ color: rgb(172, 141, 249);
/* oklch */ color: oklch(71.6% 0.155 295.4);
Tailwind
colors: {
  custom: {
    50: '#c7aefc',
    500: '#ac8df9',
    950: '#000000',
  },
}
SCSS
$custom: #ac8df9;
$custom-light: #c7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8df9",
  "rgb": {
    "r": 172,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 257.222,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71629,
    "c": 0.15524,
    "h": 295.4
  },
  "luminance": 0.3466
}

Semantic roles & 50–950 ramp

primary
#AC8DF9
secondary
#ECF6D5
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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