#AC78FA#AC78FA

#AC78FA is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.188 H 299.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AC78FA
RGBrgb(172, 120, 250)
HSLhsl(264, 93%, 73%)
HSVhsv(264, 52%, 98%)
CMYKcmyk(31.2%, 52%, 0%, 2%)
CIE-LABlab(60.87, 46.38, -57.82)
CIE-LCHlch(60.87, 74.12, 308.73°)
OKLaboklab(68.2% 0.0938 -0.1632)
OKLCHoklch(68.2% 0.188 299.9)
XYZxyz(40.9810, 29.1054, 93.8828)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78FA #C6FA78
analogous
#7885FA #AC78FA #ED78FA
triadic
#AC78FA #FAAC78 #78FAAC
tetradic
#AC78FA #FA7885 #C6FA78 #78FAED
square
#AC78FA #FA7885 #C6FA78 #78FAED
split-complementary
#AC78FA #FAED78 #85FA78
monochromatic
#6509EF #883DF8 #AC78FA #D0B3FC #EDE1FE

Accessibility & contrast

On white

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

On black

6.82
#AC78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78FA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78FA#FFFFFF#000000##000000
##AC78FA1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#9C91AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac78fa;
/* rgb */ color: rgb(172, 120, 250);
/* oklch */ color: oklch(68.2% 0.188 299.9);
Tailwind
colors: {
  custom: {
    50: '#c8a0fc',
    500: '#ac78fa',
    950: '#000000',
  },
}
SCSS
$custom: #ac78fa;
$custom-light: #c8a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78fa",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 264,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.682,
    "c": 0.18821,
    "h": 299.9
  },
  "luminance": 0.29106
}

Semantic roles & 50–950 ramp

primary
#AC78FA
secondary
#E9F6D5
accent
#E6008A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AC78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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