#AC81EF#AC81EF

#AC81EF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.0% C 0.161 H 300.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AC81EF
RGBrgb(172, 129, 239)
HSLhsl(263, 77%, 72%)
HSVhsv(263, 46%, 94%)
CMYKcmyk(28%, 46%, 0%, 6.3%)
CIE-LABlab(62.26, 38.75, -49.55)
CIE-LCHlch(62.26, 62.90, 308.03°)
OKLaboklab(69.04% 0.0811 -0.139)
OKLCHoklch(69.04% 0.161 300.3)
XYZxyz(40.4399, 30.7030, 85.4404)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC81EF #C4EF81
analogous
#818DEF #AC81EF #E381EF
triadic
#AC81EF #EFAC81 #81EFAC
tetradic
#AC81EF #EF818D #C4EF81 #81EFE3
square
#AC81EF #EF818D #C4EF81 #81EFE3
split-complementary
#AC81EF #EFE381 #8DEF81
monochromatic
#661CDA #884BE8 #AC81EF #D0B7F6 #EDE4FC

Accessibility & contrast

On white

2.94
#AC81EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AC81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC81EF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC81EF#FFFFFF#000000##000000
##AC81EF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#9F95AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac81ef;
/* rgb */ color: rgb(172, 129, 239);
/* oklch */ color: oklch(69.0% 0.161 300.3);
Tailwind
colors: {
  custom: {
    50: '#c7a6f5',
    500: '#ac81ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac81ef;
$custom-light: #c7a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac81ef",
  "rgb": {
    "r": 172,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 263.455,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69042,
    "c": 0.16096,
    "h": 300.3
  },
  "luminance": 0.30703
}

Semantic roles & 50–950 ramp

primary
#AC81EF
secondary
#E9F3D8
accent
#DA0C89
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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