#AC79FB#AC79FB

#AC79FB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.188 H 299.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AC79FB
RGBrgb(172, 121, 251)
HSLhsl(264, 94%, 73%)
HSVhsv(264, 52%, 98%)
CMYKcmyk(31.5%, 51.8%, 0%, 1.6%)
CIE-LABlab(61.14, 46.08, -57.94)
CIE-LCHlch(61.14, 74.03, 308.49°)
OKLaboklab(68.42% 0.0926 -0.1635)
OKLCHoklch(68.42% 0.188 299.5)
XYZxyz(41.2591, 29.4101, 94.7511)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC79FB #C8FB79
analogous
#7987FB #AC79FB #ED79FB
triadic
#AC79FB #FBAC79 #79FBAC
tetradic
#AC79FB #FB7987 #C8FB79 #79FBED
square
#AC79FB #FB7987 #C8FB79 #79FBED
split-complementary
#AC79FB #FBED79 #87FB79
monochromatic
#6307F2 #873EF9 #AC79FB #D1B4FD #EDE1FE

Accessibility & contrast

On white

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

On black

6.88
#AC79FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC79FB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC79FB#FFFFFF#000000##000000
##AC79FB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#5793F8
Tritanopia (blue-blind)
#9C92AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac79fb;
/* rgb */ color: rgb(172, 121, 251);
/* oklch */ color: oklch(68.4% 0.188 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8a1fd',
    500: '#ac79fb',
    950: '#000000',
  },
}
SCSS
$custom: #ac79fb;
$custom-light: #c8a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac79fb",
  "rgb": {
    "r": 172,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 263.538,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68416,
    "c": 0.18794,
    "h": 299.5
  },
  "luminance": 0.2941
}

Semantic roles & 50–950 ramp

primary
#AC79FB
secondary
#E9F6D5
accent
#E6008B
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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