#AC79F2#AC79F2

#AC79F2 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.177 H 301.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AC79F2
RGBrgb(172, 121, 242)
HSLhsl(265, 82%, 71%)
HSVhsv(265, 50%, 95%)
CMYKcmyk(28.9%, 50%, 0%, 5.1%)
CIE-LABlab(60.65, 43.89, -53.75)
CIE-LCHlch(60.65, 69.39, 309.24°)
OKLaboklab(67.9% 0.092 -0.1513)
OKLCHoklch(67.9% 0.177 301.3)
XYZxyz(39.8740, 28.8561, 87.4563)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79F2 #BFF279
analogous
#7982F2 #AC79F2 #E879F2
triadic
#AC79F2 #F2AC79 #79F2AC
tetradic
#AC79F2 #F27982 #BFF279 #79F2E8
square
#AC79F2 #F27982 #BFF279 #79F2E8
split-complementary
#AC79F2 #F2E879 #82F279
monochromatic
#6915DB #8941ED #AC79F2 #CFB1F7 #EEE3FC

Accessibility & contrast

On white

3.10
#AC79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#AC79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC79F2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC79F2#FFFFFF#000000##000000
##AC79F21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#9F8FAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac79f2;
/* rgb */ color: rgb(172, 121, 242);
/* oklch */ color: oklch(67.9% 0.177 301.3);
Tailwind
colors: {
  custom: {
    50: '#c8a1f7',
    500: '#ac79f2',
    950: '#000000',
  },
}
SCSS
$custom: #ac79f2;
$custom-light: #c8a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79f2",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 265.289,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67896,
    "c": 0.17702,
    "h": 301.3
  },
  "luminance": 0.28856
}

Semantic roles & 50–950 ramp

primary
#AC79F2
secondary
#E6F3D3
accent
#DF0784
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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