#AC78DC#AC78DC

#AC78DC is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.5% C 0.152 H 306.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AC78DC
RGBrgb(172, 120, 220)
HSLhsl(271, 59%, 67%)
HSVhsv(271, 45%, 86%)
CMYKcmyk(21.8%, 45.5%, 0%, 13.7%)
CIE-LABlab(59.32, 39.27, -43.62)
CIE-LCHlch(59.32, 58.69, 312.00°)
OKLaboklab(66.53% 0.0908 -0.1217)
OKLCHoklch(66.53% 0.152 306.7)
XYZxyz(36.6454, 27.3712, 71.0489)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78DC #A8DC78
analogous
#7A78DC #AC78DC #DC78DA
triadic
#AC78DC #DCAC78 #78DCAC
tetradic
#AC78DC #DC7A78 #A8DC78 #78DADC
square
#AC78DC #DC7A78 #A8DC78 #78DADC
split-complementary
#AC78DC #DADC78 #78DC7A
monochromatic
#6F2DAD #8E47CF #AC78DC #CAA9E9 #E8D9F5

Accessibility & contrast

On white

3.24
#AC78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AC78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78DC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78DC#FFFFFF#000000##000000
##AC78DC1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#6C8FD9
Tritanopia (blue-blind)
#A588A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac78dc;
/* rgb */ color: rgb(172, 120, 220);
/* oklch */ color: oklch(66.5% 0.152 306.7);
Tailwind
colors: {
  custom: {
    50: '#c7a0e7',
    500: '#ac78dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac78dc;
$custom-light: #c7a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78dc",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 271.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66534,
    "c": 0.15185,
    "h": 306.7
  },
  "luminance": 0.27371
}

Semantic roles & 50–950 ramp

primary
#AC78DC
secondary
#D7E8C8
accent
#C61F6F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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