#AC77FE#AC77FE

#AC77FE is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.194 H 299.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AC77FE
RGBrgb(172, 119, 254)
HSLhsl(264, 99%, 73%)
HSVhsv(264, 53%, 100%)
CMYKcmyk(32.3%, 53.1%, 0%, 0.4%)
CIE-LABlab(60.89, 47.90, -60.00)
CIE-LCHlch(60.89, 76.77, 308.60°)
OKLaboklab(68.28% 0.0953 -0.1696)
OKLCHoklch(68.28% 0.194 299.3)
XYZxyz(41.4952, 29.1197, 97.1812)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77FE #C9FE77
analogous
#7785FE #AC77FE #F077FE
triadic
#AC77FE #FEAC77 #77FEAC
tetradic
#AC77FE #FE7785 #C9FE77 #77FEF0
square
#AC77FE #FE7785 #C9FE77 #77FEF0
split-complementary
#AC77FE #FEF077 #85FE77
monochromatic
#6302F9 #873AFE #AC77FE #D1B4FE #ECE1FF

Accessibility & contrast

On white

3.08
#AC77FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AC77FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77FE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77FE#FFFFFF#000000##000000
##AC77FE1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#9B92AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac77fe;
/* rgb */ color: rgb(172, 119, 254);
/* oklch */ color: oklch(68.3% 0.194 299.3);
Tailwind
colors: {
  custom: {
    50: '#c8a0ff',
    500: '#ac77fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac77fe;
$custom-light: #c8a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77fe",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 263.556,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68282,
    "c": 0.19449,
    "h": 299.3
  },
  "luminance": 0.2912
}

Semantic roles & 50–950 ramp

primary
#AC77FE
secondary
#E9F7D4
accent
#E6008B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #AC77FE

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

Preview Lab → · Contrast checker → · Palette generator →

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