#AC78F7#AC78F7

#AC78F7 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.185 H 300.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AC78F7
RGBrgb(172, 120, 247)
HSLhsl(265, 89%, 72%)
HSVhsv(265, 51%, 97%)
CMYKcmyk(30.4%, 51.4%, 0%, 3.1%)
CIE-LABlab(60.71, 45.65, -56.42)
CIE-LCHlch(60.71, 72.58, 308.97°)
OKLaboklab(68.03% 0.0936 -0.1591)
OKLCHoklch(68.03% 0.185 300.5)
XYZxyz(40.5143, 28.9188, 91.4251)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78F7 #C3F778
analogous
#7884F7 #AC78F7 #EC78F7
triadic
#AC78F7 #F7AC78 #78F7AC
tetradic
#AC78F7 #F77884 #C3F778 #78F7EC
square
#AC78F7 #F77884 #C3F778 #78F7EC
split-complementary
#AC78F7 #F7EC78 #84F778
monochromatic
#670EE7 #883EF4 #AC78F7 #D0B2FA #EDE2FD

Accessibility & contrast

On white

3.10
#AC78F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AC78F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78F7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78F7#FFFFFF#000000##000000
##AC78F71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#9D90AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac78f7;
/* rgb */ color: rgb(172, 120, 247);
/* oklch */ color: oklch(68.0% 0.185 300.5);
Tailwind
colors: {
  custom: {
    50: '#c8a0fa',
    500: '#ac78f7',
    950: '#000000',
  },
}
SCSS
$custom: #ac78f7;
$custom-light: #c8a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78f7",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 264.567,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68025,
    "c": 0.18459,
    "h": 300.5
  },
  "luminance": 0.28919
}

Semantic roles & 50–950 ramp

primary
#AC78F7
secondary
#E8F5D5
accent
#E50088
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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