#AC77EC#AC77EC

#AC77EC is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.173 H 303.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AC77EC
RGBrgb(172, 119, 236)
HSLhsl(267, 75%, 70%)
HSVhsv(267, 50%, 93%)
CMYKcmyk(27.1%, 49.6%, 0%, 7.5%)
CIE-LABlab(59.91, 43.55, -51.61)
CIE-LCHlch(59.91, 67.53, 310.16°)
OKLaboklab(67.24% 0.094 -0.145)
OKLCHoklch(67.24% 0.173 303)
XYZxyz(38.7470, 28.0205, 82.7078)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77EC #B7EC77
analogous
#777DEC #AC77EC #E677EC
triadic
#AC77EC #ECAC77 #77ECAC
tetradic
#AC77EC #EC777D #B7EC77 #77ECE6
square
#AC77EC #EC777D #B7EC77 #77ECE6
split-complementary
#AC77EC #ECE677 #7DEC77
monochromatic
#6C1DCC #8B41E4 #AC77EC #CDADF4 #EEE2FB

Accessibility & contrast

On white

3.18
#AC77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#AC77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77EC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77EC#FFFFFF#000000##000000
##AC77EC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#A08CA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac77ec;
/* rgb */ color: rgb(172, 119, 236);
/* oklch */ color: oklch(67.2% 0.173 303.0);
Tailwind
colors: {
  custom: {
    50: '#c79ff3',
    500: '#ac77ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac77ec;
$custom-light: #c79ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77ec",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 267.179,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67238,
    "c": 0.17283,
    "h": 303
  },
  "luminance": 0.2802
}

Semantic roles & 50–950 ramp

primary
#AC77EC
secondary
#E1F0CF
accent
#D80E7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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