#AC78F8#AC78F8

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

Color values

HEX#AC78F8
RGBrgb(172, 120, 248)
HSLhsl(264, 90%, 72%)
HSVhsv(264, 52%, 97%)
CMYKcmyk(30.6%, 51.6%, 0%, 2.7%)
CIE-LABlab(60.76, 45.89, -56.89)
CIE-LCHlch(60.76, 73.09, 308.89°)
OKLaboklab(68.08% 0.0937 -0.1604)
OKLCHoklch(68.08% 0.186 300.3)
XYZxyz(40.6690, 28.9807, 92.2400)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78F8 #C4F878
analogous
#7884F8 #AC78F8 #EC78F8
triadic
#AC78F8 #F8AC78 #78F8AC
tetradic
#AC78F8 #F87884 #C4F878 #78F8EC
square
#AC78F8 #F87884 #C4F878 #78F8EC
split-complementary
#AC78F8 #F8EC78 #84F878
monochromatic
#660CE9 #883EF5 #AC78F8 #D0B2FB #EDE2FD

Accessibility & contrast

On white

3.09
#AC78F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AC78F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78F8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78F8#FFFFFF#000000##000000
##AC78F81.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#9D91AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac78f8;
/* rgb */ color: rgb(172, 120, 248);
/* oklch */ color: oklch(68.1% 0.186 300.3);
Tailwind
colors: {
  custom: {
    50: '#c8a0fb',
    500: '#ac78f8',
    950: '#000000',
  },
}
SCSS
$custom: #ac78f8;
$custom-light: #c8a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78f8",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 264.375,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68083,
    "c": 0.1858,
    "h": 300.3
  },
  "luminance": 0.28981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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