#AC77DF#AC77DF

#AC77DF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.157 H 306.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AC77DF
RGBrgb(172, 119, 223)
HSLhsl(271, 62%, 67%)
HSVhsv(271, 47%, 87%)
CMYKcmyk(22.9%, 46.6%, 0%, 12.5%)
CIE-LABlab(59.24, 40.51, -45.41)
CIE-LCHlch(59.24, 60.86, 311.74°)
OKLaboklab(66.53% 0.0926 -0.1269)
OKLCHoklch(66.53% 0.157 306.1)
XYZxyz(36.9266, 27.2923, 73.1203)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77DF #AADF77
analogous
#7877DF #AC77DF #DF77DE
triadic
#AC77DF #DFAC77 #77DFAC
tetradic
#AC77DF #DF7877 #AADF77 #77DEDF
square
#AC77DF #DF7877 #AADF77 #77DEDF
split-complementary
#AC77DF #DEDF77 #77DF78
monochromatic
#6F2AB2 #8E45D3 #AC77DF #CAA9EB #E8DAF6

Accessibility & contrast

On white

3.25
#AC77DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AC77DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77DF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77DF#FFFFFF#000000##000000
##AC77DF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#A489A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac77df;
/* rgb */ color: rgb(172, 119, 223);
/* oklch */ color: oklch(66.5% 0.157 306.1);
Tailwind
colors: {
  custom: {
    50: '#c79fe9',
    500: '#ac77df',
    950: '#000000',
  },
}
SCSS
$custom: #ac77df;
$custom-light: #c79fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77df",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 270.577,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.15711,
    "h": 306.1
  },
  "luminance": 0.27292
}

Semantic roles & 50–950 ramp

primary
#AC77DF
secondary
#D9E9C8
accent
#CA1C71
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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