#AC76DF#AC76DF

#AC76DF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.4% C 0.159 H 306.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AC76DF
RGBrgb(172, 118, 223)
HSLhsl(271, 62%, 67%)
HSVhsv(271, 47%, 87%)
CMYKcmyk(22.9%, 47.1%, 0%, 12.5%)
CIE-LABlab(59.03, 41.06, -45.76)
CIE-LCHlch(59.03, 61.48, 311.91°)
OKLaboklab(66.36% 0.0939 -0.1279)
OKLCHoklch(66.36% 0.159 306.3)
XYZxyz(36.8083, 27.0555, 73.0809)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC76DF #A9DF76
analogous
#7876DF #AC76DF #DF76DE
triadic
#AC76DF #DFAC76 #76DFAC
tetradic
#AC76DF #DF7876 #A9DF76 #76DEDF
square
#AC76DF #DF7876 #A9DF76 #76DEDF
split-complementary
#AC76DF #DEDF76 #76DF78
monochromatic
#6F29B1 #8E44D3 #AC76DF #CAA8EB #E8D9F6

Accessibility & contrast

On white

3.28
#AC76DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AC76DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC76DF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC76DF#FFFFFF#000000##000000
##AC76DF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#688EDC
Tritanopia (blue-blind)
#A488A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac76df;
/* rgb */ color: rgb(172, 118, 223);
/* oklch */ color: oklch(66.4% 0.159 306.3);
Tailwind
colors: {
  custom: {
    50: '#c79fe9',
    500: '#ac76df',
    950: '#000000',
  },
}
SCSS
$custom: #ac76df;
$custom-light: #c79fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac76df",
  "rgb": {
    "r": 172,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 270.857,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.15872,
    "h": 306.3
  },
  "luminance": 0.27055
}

Semantic roles & 50–950 ramp

primary
#AC76DF
secondary
#D8E9C8
accent
#CA1C70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC76DF

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

Preview Lab → · Contrast checker → · Palette generator →

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