#AC78F0#AC78F0

#AC78F0 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.176 H 301.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AC78F0
RGBrgb(172, 120, 240)
HSLhsl(266, 80%, 71%)
HSVhsv(266, 50%, 94%)
CMYKcmyk(28.3%, 50%, 0%, 5.9%)
CIE-LABlab(60.33, 43.96, -53.15)
CIE-LCHlch(60.33, 68.98, 309.59°)
OKLaboklab(67.62% 0.0931 -0.1495)
OKLCHoklch(67.62% 0.176 301.9)
XYZxyz(39.4543, 28.4948, 85.8427)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78F0 #BCF078
analogous
#7880F0 #AC78F0 #E878F0
triadic
#AC78F0 #F0AC78 #78F0AC
tetradic
#AC78F0 #F07880 #BCF078 #78F0E8
square
#AC78F0 #F07880 #BCF078 #78F0E8
split-complementary
#AC78F0 #F0E878 #80F078
monochromatic
#6A18D6 #8A41EA #AC78F0 #CEAFF6 #EEE3FC

Accessibility & contrast

On white

3.13
#AC78F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AC78F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78F0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78F0#FFFFFF#000000##000000
##AC78F01.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F4
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#9F8EA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac78f0;
/* rgb */ color: rgb(172, 120, 240);
/* oklch */ color: oklch(67.6% 0.176 301.9);
Tailwind
colors: {
  custom: {
    50: '#c8a0f5',
    500: '#ac78f0',
    950: '#000000',
  },
}
SCSS
$custom: #ac78f0;
$custom-light: #c8a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78f0",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 266,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67623,
    "c": 0.17613,
    "h": 301.9
  },
  "luminance": 0.28495
}

Semantic roles & 50–950 ramp

primary
#AC78F0
secondary
#E4F2D2
accent
#DC0981
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC78F0

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

Preview Lab → · Contrast checker → · Palette generator →

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