#AC81EB#AC81EB

#AC81EB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.156 H 301.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AC81EB
RGBrgb(172, 129, 235)
HSLhsl(264, 73%, 71%)
HSVhsv(264, 45%, 92%)
CMYKcmyk(26.8%, 45.1%, 0%, 7.8%)
CIE-LABlab(62.06, 37.79, -47.65)
CIE-LCHlch(62.06, 60.82, 308.42°)
OKLaboklab(68.83% 0.0806 -0.1335)
OKLCHoklch(68.83% 0.156 301.1)
XYZxyz(39.8555, 30.4692, 82.3626)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC81EB #C0EB81
analogous
#818BEB #AC81EB #E181EB
triadic
#AC81EB #EBAC81 #81EBAC
tetradic
#AC81EB #EB818B #C0EB81 #81EBE1
square
#AC81EB #EB818B #C0EB81 #81EBE1
split-complementary
#AC81EB #EBE181 #8BEB81
monochromatic
#6821D1 #894CE3 #AC81EB #CFB6F3 #EEE5FB

Accessibility & contrast

On white

2.96
#AC81EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AC81EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC81EB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC81EB#FFFFFF#000000##000000
##AC81EB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#A094AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac81eb;
/* rgb */ color: rgb(172, 129, 235);
/* oklch */ color: oklch(68.8% 0.156 301.1);
Tailwind
colors: {
  custom: {
    50: '#c7a6f2',
    500: '#ac81eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac81eb;
$custom-light: #c7a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac81eb",
  "rgb": {
    "r": 172,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 264.34,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68828,
    "c": 0.15593,
    "h": 301.1
  },
  "luminance": 0.30469
}

Semantic roles & 50–950 ramp

primary
#AC81EB
secondary
#E6F2D6
accent
#D51185
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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