#AC71DE#AC71DE

#AC71DE is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.5% C 0.166 H 307.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AC71DE
RGBrgb(172, 113, 222)
HSLhsl(272, 62%, 66%)
HSVhsv(272, 49%, 87%)
CMYKcmyk(22.5%, 49.1%, 0%, 12.9%)
CIE-LABlab(57.90, 43.57, -46.98)
CIE-LCHlch(57.90, 64.07, 312.84°)
OKLaboklab(65.51% 0.1006 -0.1315)
OKLCHoklch(65.51% 0.166 307.4)
XYZxyz(36.1006, 25.8552, 72.1818)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71DE #A3DE71
analogous
#7571DE #AC71DE #DE71DA
triadic
#AC71DE #DEAC71 #71DEAC
tetradic
#AC71DE #DE7571 #A3DE71 #71DADE
square
#AC71DE #DE7571 #A3DE71 #71DADE
split-complementary
#AC71DE #DADE71 #71DE75
monochromatic
#7028AD #8F3FD2 #AC71DE #C9A3EA #E6D4F5

Accessibility & contrast

On white

3.40
#AC71DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AC71DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71DE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71DE#FFFFFF#000000##000000
##AC71DE1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#648CDB
Tritanopia (blue-blind)
#A5849D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac71de;
/* rgb */ color: rgb(172, 113, 222);
/* oklch */ color: oklch(65.5% 0.166 307.4);
Tailwind
colors: {
  custom: {
    50: '#c79be9',
    500: '#ac71de',
    950: '#000000',
  },
}
SCSS
$custom: #ac71de;
$custom-light: #c79be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71de",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 272.477,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65509,
    "c": 0.16556,
    "h": 307.4
  },
  "luminance": 0.25855
}

Semantic roles & 50–950 ramp

primary
#AC71DE
secondary
#D4E8C3
accent
#CA1B6C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC71DE

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

Preview Lab → · Contrast checker → · Palette generator →

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