#AC76FE#AC76FE

#AC76FE is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.196 H 299.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AC76FE
RGBrgb(172, 118, 254)
HSLhsl(264, 99%, 73%)
HSVhsv(264, 54%, 100%)
CMYKcmyk(32.3%, 53.5%, 0%, 0.4%)
CIE-LABlab(60.68, 48.44, -60.33)
CIE-LCHlch(60.68, 77.37, 308.76°)
OKLaboklab(68.13% 0.0965 -0.1705)
OKLCHoklch(68.13% 0.196 299.5)
XYZxyz(41.3768, 28.8829, 97.1418)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC76FE #C8FE76
analogous
#7684FE #AC76FE #F076FE
triadic
#AC76FE #FEAC76 #76FEAC
tetradic
#AC76FE #FE7684 #C8FE76 #76FEF0
square
#AC76FE #FE7684 #C8FE76 #76FEF0
split-complementary
#AC76FE #FEF076 #84FE76
monochromatic
#6302F8 #8739FE #AC76FE #D1B3FE #EDE1FF

Accessibility & contrast

On white

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

On black

6.78
#AC76FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC76FE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC76FE#FFFFFF#000000##000000
##AC76FE1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#9B91AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac76fe;
/* rgb */ color: rgb(172, 118, 254);
/* oklch */ color: oklch(68.1% 0.196 299.5);
Tailwind
colors: {
  custom: {
    50: '#c99fff',
    500: '#ac76fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac76fe;
$custom-light: #c99fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac76fe",
  "rgb": {
    "r": 172,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 263.824,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68127,
    "c": 0.19595,
    "h": 299.5
  },
  "luminance": 0.28883
}

Semantic roles & 50–950 ramp

primary
#AC76FE
secondary
#E9F7D4
accent
#E6008A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #AC76FE

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

Preview Lab → · Contrast checker → · Palette generator →

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