#AC79EC#AC79EC

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

Color values

HEX#AC79EC
RGBrgb(172, 121, 236)
HSLhsl(267, 75%, 70%)
HSVhsv(267, 49%, 93%)
CMYKcmyk(27.1%, 48.7%, 0%, 7.5%)
CIE-LABlab(60.34, 42.46, -50.92)
CIE-LCHlch(60.34, 66.30, 309.82°)
OKLaboklab(67.56% 0.0914 -0.143)
OKLCHoklch(67.56% 0.17 302.6)
XYZxyz(38.9876, 28.5015, 82.7880)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79EC #B9EC79
analogous
#797FEC #AC79EC #E679EC
triadic
#AC79EC #ECAC79 #79ECAC
tetradic
#AC79EC #EC797F #B9EC79 #79ECE6
square
#AC79EC #EC797F #B9EC79 #79ECE6
split-complementary
#AC79EC #ECE679 #7FEC79
monochromatic
#6B1DCD #8B43E4 #AC79EC #CDAFF4 #EEE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC79EC#FFFFFF#000000##000000
##AC79EC1.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)
#5690F0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#A08EA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac79ec;
/* rgb */ color: rgb(172, 121, 236);
/* oklch */ color: oklch(67.6% 0.170 302.6);
Tailwind
colors: {
  custom: {
    50: '#c7a1f3',
    500: '#ac79ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac79ec;
$custom-light: #c7a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79ec",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 266.609,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.67559,
    "c": 0.16972,
    "h": 302.6
  },
  "luminance": 0.28502
}

Semantic roles & 50–950 ramp

primary
#AC79EC
secondary
#E2F0D0
accent
#D70E7E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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