#AC78EE#AC78EE

#AC78EE is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.174 H 302.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AC78EE
RGBrgb(172, 120, 238)
HSLhsl(266, 78%, 70%)
HSVhsv(266, 50%, 93%)
CMYKcmyk(27.7%, 49.6%, 0%, 6.7%)
CIE-LABlab(60.23, 43.48, -52.21)
CIE-LCHlch(60.23, 67.95, 309.79°)
OKLaboklab(67.51% 0.0929 -0.1468)
OKLCHoklch(67.51% 0.174 302.3)
XYZxyz(39.1589, 28.3766, 84.2866)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC78EE #BAEE78
analogous
#787FEE #AC78EE #E778EE
triadic
#AC78EE #EEAC78 #78EEAC
tetradic
#AC78EE #EE787F #BAEE78 #78EEE7
square
#AC78EE #EE787F #BAEE78 #78EEE7
split-complementary
#AC78EE #EEE778 #7FEE78
monochromatic
#6B1AD1 #8B42E7 #AC78EE #CDAEF5 #EEE4FC

Accessibility & contrast

On white

3.15
#AC78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AC78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC78EE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC78EE#FFFFFF#000000##000000
##AC78EE1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#A08EA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac78ee;
/* rgb */ color: rgb(172, 120, 238);
/* oklch */ color: oklch(67.5% 0.174 302.3);
Tailwind
colors: {
  custom: {
    50: '#c7a0f4',
    500: '#ac78ee',
    950: '#000000',
  },
}
SCSS
$custom: #ac78ee;
$custom-light: #c7a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac78ee",
  "rgb": {
    "r": 172,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 266.441,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6751,
    "c": 0.1737,
    "h": 302.3
  },
  "luminance": 0.28377
}

Semantic roles & 50–950 ramp

primary
#AC78EE
secondary
#E3F1D1
accent
#DA0C7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AC78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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