#AC8CF9#AC8CF9

#AC8CF9 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.5% C 0.157 H 295.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AC8CF9
RGBrgb(172, 140, 249)
HSLhsl(258, 90%, 76%)
HSVhsv(258, 44%, 98%)
CMYKcmyk(30.9%, 43.8%, 0%, 2.4%)
CIE-LABlab(65.25, 35.05, -50.31)
CIE-LCHlch(65.25, 61.32, 304.87°)
OKLaboklab(71.46% 0.068 -0.1412)
OKLCHoklch(71.46% 0.157 295.7)
XYZxyz(43.4860, 34.3658, 93.9464)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CF9 #D9F98C
analogous
#8CA3F9 #AC8CF9 #E38CF9
triadic
#AC8CF9 #F9AC8C #8CF9AC
tetradic
#AC8CF9 #F98CA3 #D9F98C #8CF9E3
square
#AC8CF9 #F98CA3 #D9F98C #8CF9E3
split-complementary
#AC8CF9 #F9E38C #A3F98C
monochromatic
#5818F3 #8252F6 #AC8CF9 #D6C6FC #EAE2FD

Accessibility & contrast

On white

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

On black

7.87
#AC8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CF9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CF9#FFFFFF#000000##000000
##AC8CF91.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#9BA0B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ac8cf9;
/* rgb */ color: rgb(172, 140, 249);
/* oklch */ color: oklch(71.5% 0.157 295.7);
Tailwind
colors: {
  custom: {
    50: '#c7aefc',
    500: '#ac8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #ac8cf9;
$custom-light: #c7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8cf9",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 257.615,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71455,
    "c": 0.15676,
    "h": 295.7
  },
  "luminance": 0.34366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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