#AC77DB#AC77DB

#AC77DB is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.152 H 307.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AC77DB
RGBrgb(172, 119, 219)
HSLhsl(272, 58%, 66%)
HSVhsv(272, 46%, 86%)
CMYKcmyk(21.5%, 45.7%, 0%, 14.1%)
CIE-LABlab(59.05, 39.60, -43.48)
CIE-LCHlch(59.05, 58.81, 312.32°)
OKLaboklab(66.32% 0.092 -0.1213)
OKLCHoklch(66.32% 0.152 307.2)
XYZxyz(36.3937, 27.0791, 70.3136)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77DB #A6DB77
analogous
#7A77DB #AC77DB #DB77D8
triadic
#AC77DB #DBAC77 #77DBAC
tetradic
#AC77DB #DB7A77 #A6DB77 #77D8DB
square
#AC77DB #DB7A77 #A6DB77 #77D8DB
split-complementary
#AC77DB #D8DB77 #77DB7A
monochromatic
#702DAA #8E47CE #AC77DB #CAA7E8 #E7D8F5

Accessibility & contrast

On white

3.27
#AC77DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AC77DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77DB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77DB#FFFFFF#000000##000000
##AC77DB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CDF
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#A5879F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac77db;
/* rgb */ color: rgb(172, 119, 219);
/* oklch */ color: oklch(66.3% 0.152 307.2);
Tailwind
colors: {
  custom: {
    50: '#c79fe6',
    500: '#ac77db',
    950: '#000000',
  },
}
SCSS
$custom: #ac77db;
$custom-light: #c79fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77db",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 271.8,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66317,
    "c": 0.15228,
    "h": 307.2
  },
  "luminance": 0.27079
}

Semantic roles & 50–950 ramp

primary
#AC77DB
secondary
#D6E7C7
accent
#C6206E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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