#AC77E7#AC77E7

#AC77E7 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.0% C 0.167 H 304.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AC77E7
RGBrgb(172, 119, 231)
HSLhsl(268, 70%, 69%)
HSVhsv(268, 48%, 91%)
CMYKcmyk(25.5%, 48.5%, 0%, 9.4%)
CIE-LABlab(59.65, 42.37, -49.24)
CIE-LCHlch(59.65, 64.96, 310.71°)
OKLaboklab(66.96% 0.0935 -0.1381)
OKLCHoklch(66.96% 0.167 304.1)
XYZxyz(38.0308, 27.7340, 78.9355)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77E7 #B2E777
analogous
#777AE7 #AC77E7 #E477E7
triadic
#AC77E7 #E7AC77 #77E7AC
tetradic
#AC77E7 #E7777A #B2E777 #77E7E4
square
#AC77E7 #E7777A #B2E777 #77E7E4
split-complementary
#AC77E7 #E7E477 #7AE777
monochromatic
#6E22C1 #8C43DE #AC77E7 #CCABF0 #EBDFF9

Accessibility & contrast

On white

3.21
#AC77E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AC77E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77E7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77E7#FFFFFF#000000##000000
##AC77E71.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#6490E4
Tritanopia (blue-blind)
#A28BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac77e7;
/* rgb */ color: rgb(172, 119, 231);
/* oklch */ color: oklch(67.0% 0.167 304.1);
Tailwind
colors: {
  custom: {
    50: '#c79fef',
    500: '#ac77e7',
    950: '#000000',
  },
}
SCSS
$custom: #ac77e7;
$custom-light: #c79fef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77e7",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 268.393,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.16678,
    "h": 304.1
  },
  "luminance": 0.27734
}

Semantic roles & 50–950 ramp

primary
#AC77E7
secondary
#DEEECC
accent
#D21478
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC77E7

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

Preview Lab → · Contrast checker → · Palette generator →

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