#AC77EB#AC77EB

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

Color values

HEX#AC77EB
RGBrgb(172, 119, 235)
HSLhsl(267, 74%, 69%)
HSVhsv(267, 49%, 92%)
CMYKcmyk(26.8%, 49.4%, 0%, 7.8%)
CIE-LABlab(59.85, 43.32, -51.14)
CIE-LCHlch(59.85, 67.02, 310.27°)
OKLaboklab(67.18% 0.0939 -0.1436)
OKLCHoklch(67.18% 0.172 303.2)
XYZxyz(38.6022, 27.9625, 81.9448)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77EB #B6EB77
analogous
#777CEB #AC77EB #E677EB
triadic
#AC77EB #EBAC77 #77EBAC
tetradic
#AC77EB #EB777C #B6EB77 #77EBE6
square
#AC77EB #EB777C #B6EB77 #77EBE6
split-complementary
#AC77EB #EBE677 #7CEB77
monochromatic
#6C1ECA #8B42E3 #AC77EB #CDACF3 #EDE2FB

Accessibility & contrast

On white

3.19
#AC77EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AC77EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77EB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77EB#FFFFFF#000000##000000
##AC77EB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#A18CA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac77eb;
/* rgb */ color: rgb(172, 119, 235);
/* oklch */ color: oklch(67.2% 0.172 303.2);
Tailwind
colors: {
  custom: {
    50: '#c79ff2',
    500: '#ac77eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac77eb;
$custom-light: #c79ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77eb",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 267.414,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67182,
    "c": 0.17162,
    "h": 303.2
  },
  "luminance": 0.27962
}

Semantic roles & 50–950 ramp

primary
#AC77EB
secondary
#E0F0CE
accent
#D60F7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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