#AC71DA#AC71DA

#AC71DA is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.161 H 308.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AC71DA
RGBrgb(172, 113, 218)
HSLhsl(274, 59%, 65%)
HSVhsv(274, 48%, 85%)
CMYKcmyk(21.1%, 48.2%, 0%, 14.5%)
CIE-LABlab(57.70, 42.66, -45.05)
CIE-LCHlch(57.70, 62.04, 313.44°)
OKLaboklab(65.29% 0.1002 -0.1259)
OKLCHoklch(65.29% 0.161 308.5)
XYZxyz(35.5708, 25.6433, 69.3918)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71DA #9FDA71
analogous
#7771DA #AC71DA #DA71D4
triadic
#AC71DA #DAAC71 #71DAAC
tetradic
#AC71DA #DA7771 #9FDA71 #71D4DA
square
#AC71DA #DA7771 #9FDA71 #71D4DA
split-complementary
#AC71DA #D4DA71 #71DA77
monochromatic
#702BA5 #9040CD #AC71DA #C8A2E7 #E5D2F3

Accessibility & contrast

On white

3.43
#AC71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AC71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71DA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71DA#FFFFFF#000000##000000
##AC71DA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DE
Deuteranopia (green-blind)
#668BD7
Tritanopia (blue-blind)
#A6829B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ac71da;
/* rgb */ color: rgb(172, 113, 218);
/* oklch */ color: oklch(65.3% 0.161 308.5);
Tailwind
colors: {
  custom: {
    50: '#c79be6',
    500: '#ac71da',
    950: '#000000',
  },
}
SCSS
$custom: #ac71da;
$custom-light: #c79be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71da",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 273.714,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65293,
    "c": 0.16086,
    "h": 308.5
  },
  "luminance": 0.25643
}

Semantic roles & 50–950 ramp

primary
#AC71DA
secondary
#D1E5C1
accent
#C61F68
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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