#AC71D8#AC71D8

#AC71D8 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.2% C 0.159 H 309.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC71D8
RGBrgb(172, 113, 216)
HSLhsl(274, 57%, 65%)
HSVhsv(274, 48%, 85%)
CMYKcmyk(20.4%, 47.7%, 0%, 15.3%)
CIE-LABlab(57.60, 42.21, -44.08)
CIE-LCHlch(57.60, 61.03, 313.76°)
OKLaboklab(65.19% 0.0999 -0.1231)
OKLCHoklch(65.19% 0.159 309.1)
XYZxyz(35.3107, 25.5393, 68.0218)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71D8 #9DD871
analogous
#7971D8 #AC71D8 #D871D1
triadic
#AC71D8 #D8AC71 #71D8AC
tetradic
#AC71D8 #D87971 #9DD871 #71D1D8
square
#AC71D8 #D87971 #9DD871 #71D1D8
split-complementary
#AC71D8 #D1D871 #71D879
monochromatic
#702DA2 #9041CB #AC71D8 #C8A1E5 #E4D1F2

Accessibility & contrast

On white

3.44
#AC71D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AC71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71D8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71D8#FFFFFF#000000##000000
##AC71D81.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DC
Deuteranopia (green-blind)
#688BD5
Tritanopia (blue-blind)
#A6829A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac71d8;
/* rgb */ color: rgb(172, 113, 216);
/* oklch */ color: oklch(65.2% 0.159 309.1);
Tailwind
colors: {
  custom: {
    50: '#c79be4',
    500: '#ac71d8',
    950: '#000000',
  },
}
SCSS
$custom: #ac71d8;
$custom-light: #c79be4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71d8",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 274.369,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65186,
    "c": 0.15852,
    "h": 309.1
  },
  "luminance": 0.25539
}

Semantic roles & 50–950 ramp

primary
#AC71D8
secondary
#D0E4C1
accent
#C42167
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E15
muted
#827E84

Preview Lab

Preview with #AC71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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