#AC77CB#AC77CB

#AC77CB is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.5% C 0.133 H 312.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC77CB
RGBrgb(172, 119, 203)
HSLhsl(278, 45%, 63%)
HSVhsv(278, 41%, 80%)
CMYKcmyk(15.3%, 41.4%, 0%, 20.4%)
CIE-LABlab(58.30, 36.03, -35.64)
CIE-LCHlch(58.30, 50.68, 315.31°)
OKLaboklab(65.51% 0.0894 -0.0987)
OKLCHoklch(65.51% 0.133 312.2)
XYZxyz(34.3877, 26.2767, 59.7487)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC77CB #96CB77
analogous
#8277CB #AC77CB #CB77C0
triadic
#AC77CB #CBAC77 #77CBAC
tetradic
#AC77CB #CB8277 #96CB77 #77C0CB
square
#AC77CB #CB8277 #96CB77 #77C0CB
split-complementary
#AC77CB #C0CB77 #77CB82
monochromatic
#6F3790 #914BBA #AC77CB #C7A3DC #E2D0ED

Accessibility & contrast

On white

3.36
#AC77CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AC77CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC77CB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC77CB#FFFFFF#000000##000000
##AC77CB1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CE
Deuteranopia (green-blind)
#748DC9
Tritanopia (blue-blind)
#A98397
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac77cb;
/* rgb */ color: rgb(172, 119, 203);
/* oklch */ color: oklch(65.5% 0.133 312.2);
Tailwind
colors: {
  custom: {
    50: '#c69fdb',
    500: '#ac77cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac77cb;
$custom-light: #c69fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac77cb",
  "rgb": {
    "r": 172,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 277.857,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6551,
    "c": 0.13311,
    "h": 312.2
  },
  "luminance": 0.26276
}

Semantic roles & 50–950 ramp

primary
#AC77CB
secondary
#CBDEC0
accent
#B82E61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AC77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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