#AC71D3#AC71D3

#AC71D3 is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.9% C 0.153 H 310.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC71D3
RGBrgb(172, 113, 211)
HSLhsl(276, 53%, 64%)
HSVhsv(276, 46%, 83%)
CMYKcmyk(18.5%, 46.4%, 0%, 17.3%)
CIE-LABlab(57.35, 41.10, -41.65)
CIE-LCHlch(57.35, 58.51, 314.62°)
OKLaboklab(64.92% 0.0993 -0.116)
OKLCHoklch(64.92% 0.153 310.6)
XYZxyz(34.6741, 25.2846, 64.6692)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71D3 #98D371
analogous
#7B71D3 #AC71D3 #D371C9
triadic
#AC71D3 #D3AC71 #71D3AC
tetradic
#AC71D3 #D37B71 #98D371 #71C9D3
square
#AC71D3 #D37B71 #98D371 #71C9D3
split-complementary
#AC71D3 #C9D371 #71D37B
monochromatic
#70309A #9142C5 #AC71D3 #C7A0E1 #E3CEF0

Accessibility & contrast

On white

3.47
#AC71D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AC71D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71D3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71D3#FFFFFF#000000##000000
##AC71D31.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D6
Deuteranopia (green-blind)
#6A8BD0
Tritanopia (blue-blind)
#A78098
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac71d3;
/* rgb */ color: rgb(172, 113, 211);
/* oklch */ color: oklch(64.9% 0.153 310.6);
Tailwind
colors: {
  custom: {
    50: '#c69be1',
    500: '#ac71d3',
    950: '#000000',
  },
}
SCSS
$custom: #ac71d3;
$custom-light: #c69be1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71d3",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 276.122,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64923,
    "c": 0.15266,
    "h": 310.6
  },
  "luminance": 0.25284
}

Semantic roles & 50–950 ramp

primary
#AC71D3
secondary
#CCE1BF
accent
#C02563
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AC71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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