#AC71DC#AC71DC

#AC71DC is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.4% C 0.163 H 308.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC71DC
RGBrgb(172, 113, 220)
HSLhsl(273, 60%, 65%)
HSVhsv(273, 49%, 86%)
CMYKcmyk(21.8%, 48.6%, 0%, 13.7%)
CIE-LABlab(57.80, 43.11, -46.01)
CIE-LCHlch(57.80, 63.06, 313.14°)
OKLaboklab(65.4% 0.1004 -0.1287)
OKLCHoklch(65.4% 0.163 308)
XYZxyz(35.8341, 25.7486, 70.7785)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71DC #A1DC71
analogous
#7671DC #AC71DC #DC71D7
triadic
#AC71DC #DCAC71 #71DCAC
tetradic
#AC71DC #DC7671 #A1DC71 #71D7DC
square
#AC71DC #DC7671 #A1DC71 #71D7DC
split-complementary
#AC71DC #D7DC71 #71DC76
monochromatic
#702AA9 #8F40D0 #AC71DC #C9A2E8 #E5D3F4

Accessibility & contrast

On white

3.41
#AC71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AC71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71DC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71DC#FFFFFF#000000##000000
##AC71DC1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588E0
Deuteranopia (green-blind)
#658CD9
Tritanopia (blue-blind)
#A5839C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac71dc;
/* rgb */ color: rgb(172, 113, 220);
/* oklch */ color: oklch(65.4% 0.163 308.0);
Tailwind
colors: {
  custom: {
    50: '#c79be7',
    500: '#ac71dc',
    950: '#000000',
  },
}
SCSS
$custom: #ac71dc;
$custom-light: #c79be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71dc",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 273.084,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.654,
    "c": 0.16321,
    "h": 308
  },
  "luminance": 0.25748
}

Semantic roles & 50–950 ramp

primary
#AC71DC
secondary
#D3E6C2
accent
#C81D6A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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