#AC77F2#AC77F2

#AC77F2 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.180 H 301.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AC77F2
RGBrgb(172, 119, 242)
HSLhsl(266, 83%, 71%)
HSVhsv(266, 51%, 95%)
CMYKcmyk(28.9%, 50.8%, 0%, 5.1%)
CIE-LABlab(60.23, 44.99, -54.43)
CIE-LCHlch(60.23, 70.61, 309.57°)
OKLaboklab(67.58% 0.0945 -0.1532)
OKLCHoklch(67.58% 0.18 301.7)
XYZxyz(39.6334, 28.3750, 87.3761)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77F2 #BDF277
analogous
#777FF2 #AC77F2 #EA77F2
triadic
#AC77F2 #F2AC77 #77F2AC
tetradic
#AC77F2 #F2777F #BDF277 #77F2EA
square
#AC77F2 #F2777F #BDF277 #77F2EA
split-complementary
#AC77F2 #F2EA77 #7FF277
monochromatic
#6A15DA #8A3FED #AC77F2 #CEAFF7 #EEE3FC

Accessibility & contrast

On white

3.15
#AC77F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AC77F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77F2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77F2#FFFFFF#000000##000000
##AC77F21.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#9F8EA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac77f2;
/* rgb */ color: rgb(172, 119, 242);
/* oklch */ color: oklch(67.6% 0.180 301.7);
Tailwind
colors: {
  custom: {
    50: '#c89ff7',
    500: '#ac77f2',
    950: '#000000',
  },
}
SCSS
$custom: #ac77f2;
$custom-light: #c89ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77f2",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 265.854,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67578,
    "c": 0.18006,
    "h": 301.7
  },
  "luminance": 0.28375
}

Semantic roles & 50–950 ramp

primary
#AC77F2
secondary
#E5F3D2
accent
#DF0782
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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