#AC76EB#AC76EB

#AC76EB is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.0% C 0.173 H 303.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AC76EB
RGBrgb(172, 118, 235)
HSLhsl(268, 75%, 69%)
HSVhsv(268, 50%, 92%)
CMYKcmyk(26.8%, 49.8%, 0%, 7.8%)
CIE-LABlab(59.64, 43.86, -51.48)
CIE-LCHlch(59.64, 67.63, 310.43°)
OKLaboklab(67.02% 0.0953 -0.1446)
OKLCHoklch(67.02% 0.173 303.4)
XYZxyz(38.4838, 27.7257, 81.9053)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC76EB #B5EB76
analogous
#767BEB #AC76EB #E676EB
triadic
#AC76EB #EBAC76 #76EBAC
tetradic
#AC76EB #EB767B #B5EB76 #76EBE6
square
#AC76EB #EB767B #B5EB76 #76EBE6
split-complementary
#AC76EB #EBE676 #7BEB76
monochromatic
#6D1DC9 #8C41E3 #AC76EB #CCABF3 #EDE1FB

Accessibility & contrast

On white

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

On black

6.55
#AC76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC76EB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC76EB#FFFFFF#000000##000000
##AC76EB1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#A18BA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac76eb;
/* rgb */ color: rgb(172, 118, 235);
/* oklch */ color: oklch(67.0% 0.173 303.4);
Tailwind
colors: {
  custom: {
    50: '#c79ff2',
    500: '#ac76eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac76eb;
$custom-light: #c79ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac76eb",
  "rgb": {
    "r": 172,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 267.692,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67022,
    "c": 0.17317,
    "h": 303.4
  },
  "luminance": 0.27726
}

Semantic roles & 50–950 ramp

primary
#AC76EB
secondary
#E0EFCD
accent
#D70F7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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