#AC78EF#AC78EF

#AC78EF is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.175 H 302.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AC78EF
RGBrgb(172, 120, 239)
HSLhsl(266, 79%, 70%)
HSVhsv(266, 50%, 94%)
CMYKcmyk(28%, 49.8%, 0%, 6.3%)
CIE-LABlab(60.28, 43.72, -52.68)
CIE-LCHlch(60.28, 68.46, 309.69°)
OKLaboklab(67.57% 0.093 -0.1481)
OKLCHoklch(67.57% 0.175 302.1)
XYZxyz(39.3062, 28.4355, 85.0625)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78EF #BBEF78
analogous
#7880EF #AC78EF #E778EF
triadic
#AC78EF #EFAC78 #78EFAC
tetradic
#AC78EF #EF7880 #BBEF78 #78EFE7
square
#AC78EF #EF7880 #BBEF78 #78EFE7
split-complementary
#AC78EF #EFE778 #80EF78
monochromatic
#6B19D4 #8A41E9 #AC78EF #CEAFF5 #EEE4FC

Accessibility & contrast

On white

3.14
#AC78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AC78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78EF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78EF#FFFFFF#000000##000000
##AC78EF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#A08EA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac78ef;
/* rgb */ color: rgb(172, 120, 239);
/* oklch */ color: oklch(67.6% 0.175 302.1);
Tailwind
colors: {
  custom: {
    50: '#c8a0f5',
    500: '#ac78ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac78ef;
$custom-light: #c8a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78ef",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 266.218,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67567,
    "c": 0.17491,
    "h": 302.1
  },
  "luminance": 0.28436
}

Semantic roles & 50–950 ramp

primary
#AC78EF
secondary
#E3F2D1
accent
#DB0A80
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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