#AC79EB#AC79EB

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

Color values

HEX#AC79EB
RGBrgb(172, 121, 235)
HSLhsl(267, 74%, 70%)
HSVhsv(267, 49%, 92%)
CMYKcmyk(26.8%, 48.5%, 0%, 7.8%)
CIE-LABlab(60.29, 42.22, -50.45)
CIE-LCHlch(60.29, 65.79, 309.92°)
OKLaboklab(67.5% 0.0913 -0.1416)
OKLCHoklch(67.5% 0.169 302.8)
XYZxyz(38.8427, 28.4436, 82.0250)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79EB #B8EB79
analogous
#797FEB #AC79EB #E579EB
triadic
#AC79EB #EBAC79 #79EBAC
tetradic
#AC79EB #EB797F #B8EB79 #79EBE5
square
#AC79EB #EB797F #B8EB79 #79EBE5
split-complementary
#AC79EB #EBE579 #7FEB79
monochromatic
#6C1ECB #8B44E3 #AC79EB #CDAEF3 #EEE4FB

Accessibility & contrast

On white

3.14
#AC79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AC79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC79EB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC79EB#FFFFFF#000000##000000
##AC79EB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac79eb;
/* rgb */ color: rgb(172, 121, 235);
/* oklch */ color: oklch(67.5% 0.169 302.8);
Tailwind
colors: {
  custom: {
    50: '#c7a1f2',
    500: '#ac79eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac79eb;
$custom-light: #c7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79eb",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 266.842,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67504,
    "c": 0.1685,
    "h": 302.8
  },
  "luminance": 0.28444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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