#AC71D6#AC71D6

#AC71D6 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.1% C 0.156 H 309.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AC71D6
RGBrgb(172, 113, 214)
HSLhsl(275, 55%, 64%)
HSVhsv(275, 47%, 84%)
CMYKcmyk(19.6%, 47.2%, 0%, 16.1%)
CIE-LABlab(57.50, 41.76, -43.11)
CIE-LCHlch(57.50, 60.02, 314.09°)
OKLaboklab(65.08% 0.0997 -0.1202)
OKLCHoklch(65.08% 0.156 309.7)
XYZxyz(35.0537, 25.4365, 66.6684)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71D6 #9BD671
analogous
#7A71D6 #AC71D6 #D671CD
triadic
#AC71D6 #D6AC71 #71D6AC
tetradic
#AC71D6 #D67A71 #9BD671 #71CDD6
square
#AC71D6 #D67A71 #9BD671 #71CDD6
split-complementary
#AC71D6 #CDD671 #71D67A
monochromatic
#702E9F #9042C8 #AC71D6 #C8A0E4 #E4D0F1

Accessibility & contrast

On white

3.45
#AC71D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AC71D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71D6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71D6#FFFFFF#000000##000000
##AC71D61.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987DA
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#A78199
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac71d6;
/* rgb */ color: rgb(172, 113, 214);
/* oklch */ color: oklch(65.1% 0.156 309.7);
Tailwind
colors: {
  custom: {
    50: '#c79be3',
    500: '#ac71d6',
    950: '#000000',
  },
}
SCSS
$custom: #ac71d6;
$custom-light: #c79be3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71d6",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 214
  },
  "hsl": {
    "h": 275.05,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6508,
    "c": 0.15617,
    "h": 309.7
  },
  "luminance": 0.25436
}

Semantic roles & 50–950 ramp

primary
#AC71D6
secondary
#CEE3C0
accent
#C32365
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AC71D6

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

Preview Lab → · Contrast checker → · Palette generator →

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