#AC81FC#AC81FC

#AC81FC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.8% C 0.177 H 297.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AC81FC
RGBrgb(172, 129, 252)
HSLhsl(261, 95%, 75%)
HSVhsv(261, 49%, 99%)
CMYKcmyk(31.7%, 48.8%, 0%, 1.2%)
CIE-LABlab(62.93, 41.93, -55.65)
CIE-LCHlch(62.93, 69.68, 307.00°)
OKLaboklab(69.76% 0.0826 -0.1568)
OKLCHoklch(69.76% 0.177 297.8)
XYZxyz(42.4299, 31.4990, 95.9211)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC81FC #D1FC81
analogous
#8193FC #AC81FC #EA81FC
triadic
#AC81FC #FCAC81 #81FCAC
tetradic
#AC81FC #FC8193 #D1FC81 #81FCEA
square
#AC81FC #FC8193 #D1FC81 #81FCEA
split-complementary
#AC81FC #FCEA81 #93FC81
monochromatic
#5D09F9 #8545FB #AC81FC #D3BDFD #EBE1FE

Accessibility & contrast

On white

2.88
#AC81FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AC81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC81FC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC81FC#FFFFFF#000000##000000
##AC81FC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#9B98B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac81fc;
/* rgb */ color: rgb(172, 129, 252);
/* oklch */ color: oklch(69.8% 0.177 297.8);
Tailwind
colors: {
  custom: {
    50: '#c8a6fe',
    500: '#ac81fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac81fc;
$custom-light: #c8a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac81fc",
  "rgb": {
    "r": 172,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 260.976,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69761,
    "c": 0.17723,
    "h": 297.8
  },
  "luminance": 0.31499
}

Semantic roles & 50–950 ramp

primary
#AC81FC
secondary
#EBF7D4
accent
#E60095
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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