#AC71D5#AC71D5

#AC71D5 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.0% C 0.155 H 310.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC71D5
RGBrgb(172, 113, 213)
HSLhsl(275, 54%, 64%)
HSVhsv(275, 47%, 84%)
CMYKcmyk(19.2%, 46.9%, 0%, 16.5%)
CIE-LABlab(57.45, 41.54, -42.62)
CIE-LCHlch(57.45, 59.52, 314.26°)
OKLaboklab(65.03% 0.0995 -0.1188)
OKLCHoklch(65.03% 0.155 310)
XYZxyz(34.9264, 25.3856, 65.9979)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71D5 #9AD571
analogous
#7A71D5 #AC71D5 #D571CC
triadic
#AC71D5 #D5AC71 #71D5AC
tetradic
#AC71D5 #D57A71 #9AD571 #71CCD5
square
#AC71D5 #D57A71 #9AD571 #71CCD5
split-complementary
#AC71D5 #CCD571 #71D57A
monochromatic
#702E9D #9042C7 #AC71D5 #C8A0E3 #E3CFF1

Accessibility & contrast

On white

3.46
#AC71D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AC71D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71D5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71D5#FFFFFF#000000##000000
##AC71D51.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac71d5;
/* rgb */ color: rgb(172, 113, 213);
/* oklch */ color: oklch(65.0% 0.155 310.0);
Tailwind
colors: {
  custom: {
    50: '#c79be2',
    500: '#ac71d5',
    950: '#000000',
  },
}
SCSS
$custom: #ac71d5;
$custom-light: #c79be2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71d5",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 275.4,
    "s": 54.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65027,
    "c": 0.155,
    "h": 310
  },
  "luminance": 0.25385
}

Semantic roles & 50–950 ramp

primary
#AC71D5
secondary
#CEE2BF
accent
#C22465
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AC71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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