#AC71DD#AC71DD

#AC71DD is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.164 H 307.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AC71DD
RGBrgb(172, 113, 221)
HSLhsl(273, 61%, 65%)
HSVhsv(273, 49%, 87%)
CMYKcmyk(22.2%, 48.9%, 0%, 13.3%)
CIE-LABlab(57.85, 43.34, -46.50)
CIE-LCHlch(57.85, 63.56, 312.99°)
OKLaboklab(65.46% 0.1005 -0.1301)
OKLCHoklch(65.46% 0.164 307.7)
XYZxyz(35.9669, 25.8018, 71.4781)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71DD #A2DD71
analogous
#7671DD #AC71DD #DD71D8
triadic
#AC71DD #DDAC71 #71DDAC
tetradic
#AC71DD #DD7671 #A2DD71 #71D8DD
square
#AC71DD #DD7671 #A2DD71 #71D8DD
split-complementary
#AC71DD #D8DD71 #71DD76
monochromatic
#7029AB #8F40D1 #AC71DD #C9A2E9 #E6D4F5

Accessibility & contrast

On white

3.41
#AC71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AC71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71DD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71DD#FFFFFF#000000##000000
##AC71DD1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E1
Deuteranopia (green-blind)
#658CDA
Tritanopia (blue-blind)
#A5839D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac71dd;
/* rgb */ color: rgb(172, 113, 221);
/* oklch */ color: oklch(65.5% 0.164 307.7);
Tailwind
colors: {
  custom: {
    50: '#c79be8',
    500: '#ac71dd',
    950: '#000000',
  },
}
SCSS
$custom: #ac71dd;
$custom-light: #c79be8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71dd",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 272.778,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65455,
    "c": 0.16439,
    "h": 307.7
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#AC71DD
secondary
#D3E7C3
accent
#C91C6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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