#AC79FC#AC79FC

#AC79FC is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.189 H 299.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AC79FC
RGBrgb(172, 121, 252)
HSLhsl(263, 96%, 73%)
HSVhsv(263, 52%, 99%)
CMYKcmyk(31.7%, 52%, 0%, 1.2%)
CIE-LABlab(61.20, 46.32, -58.40)
CIE-LCHlch(61.20, 74.54, 308.42°)
OKLaboklab(68.47% 0.0927 -0.1649)
OKLCHoklch(68.47% 0.189 299.3)
XYZxyz(41.4171, 29.4733, 95.5835)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79FC #C9FC79
analogous
#7987FC #AC79FC #EE79FC
triadic
#AC79FC #FCAC79 #79FCAC
tetradic
#AC79FC #FC7987 #C9FC79 #79FCEE
square
#AC79FC #FC7987 #C9FC79 #79FCEE
split-complementary
#AC79FC #FCEE79 #87FC79
monochromatic
#6305F5 #873DFB #AC79FC #D1B5FD #ECE1FE

Accessibility & contrast

On white

3.05
#AC79FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AC79FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC79FC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC79FC#FFFFFF#000000##000000
##AC79FC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#9B92AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac79fc;
/* rgb */ color: rgb(172, 121, 252);
/* oklch */ color: oklch(68.5% 0.189 299.3);
Tailwind
colors: {
  custom: {
    50: '#c8a1fe',
    500: '#ac79fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac79fc;
$custom-light: #c8a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79fc",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 263.359,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68475,
    "c": 0.18914,
    "h": 299.3
  },
  "luminance": 0.29474
}

Semantic roles & 50–950 ramp

primary
#AC79FC
secondary
#E9F7D4
accent
#E6008C
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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