#AC79DD#AC79DD

#AC79DD is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.8% C 0.151 H 306.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AC79DD
RGBrgb(172, 121, 221)
HSLhsl(271, 60%, 67%)
HSVhsv(271, 45%, 87%)
CMYKcmyk(22.2%, 45.2%, 0%, 13.3%)
CIE-LABlab(59.59, 38.95, -43.75)
CIE-LCHlch(59.59, 58.58, 311.68°)
OKLaboklab(66.75% 0.0895 -0.1221)
OKLCHoklch(66.75% 0.151 306.2)
XYZxyz(36.8991, 27.6661, 71.7888)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79DD #AADD79
analogous
#7A79DD #AC79DD #DD79DC
triadic
#AC79DD #DDAC79 #79DDAC
tetradic
#AC79DD #DD7A79 #AADD79 #79DCDD
square
#AC79DD #DD7A79 #AADD79 #79DCDD
split-complementary
#AC79DD #DCDD79 #79DD7A
monochromatic
#6F2CAF #8E48D1 #AC79DD #CAAAE9 #E8DBF6

Accessibility & contrast

On white

3.21
#AC79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AC79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC79DD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC79DD#FFFFFF#000000##000000
##AC79DD1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE1
Deuteranopia (green-blind)
#6C90DA
Tritanopia (blue-blind)
#A58AA0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac79dd;
/* rgb */ color: rgb(172, 121, 221);
/* oklch */ color: oklch(66.8% 0.151 306.2);
Tailwind
colors: {
  custom: {
    50: '#c7a1e8',
    500: '#ac79dd',
    950: '#000000',
  },
}
SCSS
$custom: #ac79dd;
$custom-light: #c7a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79dd",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 270.6,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66752,
    "c": 0.15144,
    "h": 306.2
  },
  "luminance": 0.27666
}

Semantic roles & 50–950 ramp

primary
#AC79DD
secondary
#D9E9C9
accent
#C71E71
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AC79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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