#AC79EF#AC79EF

#AC79EF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.173 H 301.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AC79EF
RGBrgb(172, 121, 239)
HSLhsl(266, 79%, 71%)
HSVhsv(266, 49%, 94%)
CMYKcmyk(28%, 49.4%, 0%, 6.3%)
CIE-LABlab(60.50, 43.17, -52.34)
CIE-LCHlch(60.50, 67.85, 309.52°)
OKLaboklab(67.73% 0.0917 -0.1471)
OKLCHoklch(67.73% 0.173 301.9)
XYZxyz(39.4271, 28.6773, 85.1028)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79EF #BCEF79
analogous
#7981EF #AC79EF #E779EF
triadic
#AC79EF #EFAC79 #79EFAC
tetradic
#AC79EF #EF7981 #BCEF79 #79EFE7
square
#AC79EF #EF7981 #BCEF79 #79EFE7
split-complementary
#AC79EF #EFE779 #81EF79
monochromatic
#6A19D4 #8A42E8 #AC79EF #CEB0F6 #EEE4FC

Accessibility & contrast

On white

3.12
#AC79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AC79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC79EF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC79EF#FFFFFF#000000##000000
##AC79EF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#9F8FA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac79ef;
/* rgb */ color: rgb(172, 121, 239);
/* oklch */ color: oklch(67.7% 0.173 301.9);
Tailwind
colors: {
  custom: {
    50: '#c7a1f5',
    500: '#ac79ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac79ef;
$custom-light: #c7a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79ef",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 265.932,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.17338,
    "h": 301.9
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#AC79EF
secondary
#E4F2D2
accent
#DB0B81
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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