#AC78EB#AC78EB

#AC78EB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.170 H 303.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AC78EB
RGBrgb(172, 120, 235)
HSLhsl(267, 74%, 70%)
HSVhsv(267, 49%, 92%)
CMYKcmyk(26.8%, 48.9%, 0%, 7.8%)
CIE-LABlab(60.07, 42.77, -50.79)
CIE-LCHlch(60.07, 66.40, 310.10°)
OKLaboklab(67.34% 0.0926 -0.1426)
OKLCHoklch(67.34% 0.17 303)
XYZxyz(38.7218, 28.2018, 81.9847)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78EB #B7EB78
analogous
#787EEB #AC78EB #E578EB
triadic
#AC78EB #EBAC78 #78EBAC
tetradic
#AC78EB #EB787E #B7EB78 #78EBE5
square
#AC78EB #EB787E #B7EB78 #78EBE5
split-complementary
#AC78EB #EBE578 #7EEB78
monochromatic
#6C1ECB #8B43E3 #AC78EB #CDADF3 #EEE3FB

Accessibility & contrast

On white

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

On black

6.64
#AC78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78EB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78EB#FFFFFF#000000##000000
##AC78EB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#A18DA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac78eb;
/* rgb */ color: rgb(172, 120, 235);
/* oklch */ color: oklch(67.3% 0.170 303.0);
Tailwind
colors: {
  custom: {
    50: '#c7a0f2',
    500: '#ac78eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac78eb;
$custom-light: #c7a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78eb",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 267.13,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.17006,
    "h": 303
  },
  "luminance": 0.28202
}

Semantic roles & 50–950 ramp

primary
#AC78EB
secondary
#E1F0CF
accent
#D60F7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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