#AC78F9#AC78F9

#AC78F9 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.187 H 300.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AC78F9
RGBrgb(172, 120, 249)
HSLhsl(264, 91%, 72%)
HSVhsv(264, 52%, 98%)
CMYKcmyk(30.9%, 51.8%, 0%, 2.4%)
CIE-LABlab(60.82, 46.13, -57.35)
CIE-LCHlch(60.82, 73.60, 308.81°)
OKLaboklab(68.14% 0.0938 -0.1618)
OKLCHoklch(68.14% 0.187 300.1)
XYZxyz(40.8246, 29.0429, 93.0592)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78F9 #C5F978
analogous
#7885F9 #AC78F9 #EC78F9
triadic
#AC78F9 #F9AC78 #78F9AC
tetradic
#AC78F9 #F97885 #C5F978 #78F9EC
square
#AC78F9 #F97885 #C5F978 #78F9EC
split-complementary
#AC78F9 #F9EC78 #85F978
monochromatic
#650AEC #883DF6 #AC78F9 #D0B3FC #EDE2FE

Accessibility & contrast

On white

3.08
#AC78F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AC78F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78F9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78F9#FFFFFF#000000##000000
##AC78F91.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#9C91AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac78f9;
/* rgb */ color: rgb(172, 120, 249);
/* oklch */ color: oklch(68.1% 0.187 300.1);
Tailwind
colors: {
  custom: {
    50: '#c8a0fc',
    500: '#ac78f9',
    950: '#000000',
  },
}
SCSS
$custom: #ac78f9;
$custom-light: #c8a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78f9",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 264.186,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68142,
    "c": 0.18701,
    "h": 300.1
  },
  "luminance": 0.29043
}

Semantic roles & 50–950 ramp

primary
#AC78F9
secondary
#E9F6D5
accent
#E60089
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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