#AC77DC#AC77DC

#AC77DC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.4% C 0.153 H 306.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AC77DC
RGBrgb(172, 119, 220)
HSLhsl(271, 59%, 66%)
HSVhsv(271, 46%, 86%)
CMYKcmyk(21.8%, 45.9%, 0%, 13.7%)
CIE-LABlab(59.10, 39.83, -43.96)
CIE-LCHlch(59.10, 59.32, 312.17°)
OKLaboklab(66.37% 0.0922 -0.1227)
OKLCHoklch(66.37% 0.153 306.9)
XYZxyz(36.5258, 27.1320, 71.0090)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77DC #A7DC77
analogous
#7A77DC #AC77DC #DC77DA
triadic
#AC77DC #DCAC77 #77DCAC
tetradic
#AC77DC #DC7A77 #A7DC77 #77DADC
square
#AC77DC #DC7A77 #A7DC77 #77DADC
split-complementary
#AC77DC #DADC77 #77DC7A
monochromatic
#6F2CAC #8E46CF #AC77DC #CAA8E9 #E7D8F5

Accessibility & contrast

On white

3.27
#AC77DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AC77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77DC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77DC#FFFFFF#000000##000000
##AC77DC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CE0
Deuteranopia (green-blind)
#6B8FD9
Tritanopia (blue-blind)
#A5889F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac77dc;
/* rgb */ color: rgb(172, 119, 220);
/* oklch */ color: oklch(66.4% 0.153 306.9);
Tailwind
colors: {
  custom: {
    50: '#c79fe7',
    500: '#ac77dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac77dc;
$custom-light: #c79fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77dc",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 271.485,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66369,
    "c": 0.15349,
    "h": 306.9
  },
  "luminance": 0.27132
}

Semantic roles & 50–950 ramp

primary
#AC77DC
secondary
#D7E8C7
accent
#C71F6F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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