#AC78DB#AC78DB

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

Color values

HEX#AC78DB
RGBrgb(172, 120, 219)
HSLhsl(272, 58%, 66%)
HSVhsv(272, 45%, 86%)
CMYKcmyk(21.5%, 45.2%, 0%, 14.1%)
CIE-LABlab(59.27, 39.04, -43.13)
CIE-LCHlch(59.27, 58.18, 312.15°)
OKLaboklab(66.48% 0.0906 -0.1203)
OKLCHoklch(66.48% 0.151 307)
XYZxyz(36.5134, 27.3184, 70.3535)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78DB #A7DB78
analogous
#7B78DB #AC78DB #DB78D9
triadic
#AC78DB #DBAC78 #78DBAC
tetradic
#AC78DB #DB7B78 #A7DB78 #78D9DB
square
#AC78DB #DB7B78 #A7DB78 #78D9DB
split-complementary
#AC78DB #D9DB78 #78DB7B
monochromatic
#6F2EAB #8E48CE #AC78DB #CAA8E8 #E7D9F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC78DB#FFFFFF#000000##000000
##AC78DB1.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)
#5F8DDF
Deuteranopia (green-blind)
#6D8FD8
Tritanopia (blue-blind)
#A5889F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac78db;
/* rgb */ color: rgb(172, 120, 219);
/* oklch */ color: oklch(66.5% 0.151 307.0);
Tailwind
colors: {
  custom: {
    50: '#c7a0e6',
    500: '#ac78db',
    950: '#000000',
  },
}
SCSS
$custom: #ac78db;
$custom-light: #c7a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78db",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 271.515,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.15065,
    "h": 307
  },
  "luminance": 0.27318
}

Semantic roles & 50–950 ramp

primary
#AC78DB
secondary
#D7E7C7
accent
#C5206F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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