#AC71DF#AC71DF

#AC71DF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.167 H 307.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AC71DF
RGBrgb(172, 113, 223)
HSLhsl(272, 63%, 66%)
HSVhsv(272, 49%, 87%)
CMYKcmyk(22.9%, 49.3%, 0%, 12.5%)
CIE-LABlab(57.95, 43.80, -47.46)
CIE-LCHlch(57.95, 64.58, 312.70°)
OKLaboklab(65.56% 0.1007 -0.1329)
OKLCHoklch(65.56% 0.167 307.2)
XYZxyz(36.2350, 25.9090, 72.8898)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71DF #A4DF71
analogous
#7571DF #AC71DF #DF71DB
triadic
#AC71DF #DFAC71 #71DFAC
tetradic
#AC71DF #DF7571 #A4DF71 #71DBDF
square
#AC71DF #DF7571 #A4DF71 #71DBDF
split-complementary
#AC71DF #DBDF71 #71DF75
monochromatic
#7027AE #8F3FD4 #AC71DF #C9A3EA #E6D5F6

Accessibility & contrast

On white

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

On black

6.18
#AC71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71DF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71DF#FFFFFF#000000##000000
##AC71DF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#638CDC
Tritanopia (blue-blind)
#A4849E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac71df;
/* rgb */ color: rgb(172, 113, 223);
/* oklch */ color: oklch(65.6% 0.167 307.2);
Tailwind
colors: {
  custom: {
    50: '#c79be9',
    500: '#ac71df',
    950: '#000000',
  },
}
SCSS
$custom: #ac71df;
$custom-light: #c79be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71df",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 272.182,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65564,
    "c": 0.16674,
    "h": 307.2
  },
  "luminance": 0.25909
}

Semantic roles & 50–950 ramp

primary
#AC71DF
secondary
#D5E8C4
accent
#CB1B6C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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