#AC79DC#AC79DC

#AC79DC is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.7% C 0.150 H 306.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AC79DC
RGBrgb(172, 121, 220)
HSLhsl(271, 59%, 67%)
HSVhsv(271, 45%, 86%)
CMYKcmyk(21.8%, 45%, 0%, 13.7%)
CIE-LABlab(59.54, 38.72, -43.27)
CIE-LCHlch(59.54, 58.06, 311.82°)
OKLaboklab(66.7% 0.0894 -0.1207)
OKLCHoklch(66.7% 0.15 306.5)
XYZxyz(36.7663, 27.6130, 71.0892)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79DC #A9DC79
analogous
#7B79DC #AC79DC #DC79DB
triadic
#AC79DC #DCAC79 #79DCAC
tetradic
#AC79DC #DC7B79 #A9DC79 #79DBDC
square
#AC79DC #DC7B79 #A9DC79 #79DBDC
split-complementary
#AC79DC #DBDC79 #79DC7B
monochromatic
#6F2DAD #8E48CF #AC79DC #CAAAE9 #E8DAF5

Accessibility & contrast

On white

3.22
#AC79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AC79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC79DC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC79DC#FFFFFF#000000##000000
##AC79DC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE0
Deuteranopia (green-blind)
#6D90D9
Tritanopia (blue-blind)
#A589A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac79dc;
/* rgb */ color: rgb(172, 121, 220);
/* oklch */ color: oklch(66.7% 0.150 306.5);
Tailwind
colors: {
  custom: {
    50: '#c7a1e7',
    500: '#ac79dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac79dc;
$custom-light: #c7a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79dc",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 270.909,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66699,
    "c": 0.15023,
    "h": 306.5
  },
  "luminance": 0.27613
}

Semantic roles & 50–950 ramp

primary
#AC79DC
secondary
#D8E8C9
accent
#C61F70
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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