#AC78EC#AC78EC

#AC78EC is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.171 H 302.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AC78EC
RGBrgb(172, 120, 236)
HSLhsl(267, 75%, 70%)
HSVhsv(267, 49%, 93%)
CMYKcmyk(27.1%, 49.2%, 0%, 7.5%)
CIE-LABlab(60.12, 43.01, -51.27)
CIE-LCHlch(60.12, 66.92, 309.99°)
OKLaboklab(67.4% 0.0927 -0.144)
OKLCHoklch(67.4% 0.171 302.8)
XYZxyz(38.8667, 28.2597, 82.7477)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78EC #B8EC78
analogous
#787EEC #AC78EC #E678EC
triadic
#AC78EC #ECAC78 #78ECAC
tetradic
#AC78EC #EC787E #B8EC78 #78ECE6
square
#AC78EC #EC787E #B8EC78 #78ECE6
split-complementary
#AC78EC #ECE678 #7EEC78
monochromatic
#6C1DCD #8B42E4 #AC78EC #CDAEF4 #EEE3FB

Accessibility & contrast

On white

3.16
#AC78EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AC78EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78EC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78EC#FFFFFF#000000##000000
##AC78EC1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#A08DA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac78ec;
/* rgb */ color: rgb(172, 120, 236);
/* oklch */ color: oklch(67.4% 0.171 302.8);
Tailwind
colors: {
  custom: {
    50: '#c7a0f3',
    500: '#ac78ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac78ec;
$custom-light: #c7a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78ec",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 266.897,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67398,
    "c": 0.17127,
    "h": 302.8
  },
  "luminance": 0.2826
}

Semantic roles & 50–950 ramp

primary
#AC78EC
secondary
#E2F0D0
accent
#D70E7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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