#AC71FF#AC71FF

#AC71FF is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.4% C 0.204 H 300.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AC71FF
RGBrgb(172, 113, 255)
HSLhsl(265, 100%, 72%)
HSVhsv(265, 56%, 100%)
CMYKcmyk(32.5%, 55.7%, 0%, 0%)
CIE-LABlab(59.71, 51.35, -62.44)
CIE-LCHlch(59.71, 80.84, 309.44°)
OKLaboklab(67.43% 0.1026 -0.1767)
OKLCHoklch(67.43% 0.204 300.1)
XYZxyz(40.9641, 27.8006, 97.7963)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71FF #C4FF71
analogous
#717DFF #AC71FF #F371FF
triadic
#AC71FF #FFAC71 #71FFAC
tetradic
#AC71FF #FF717D #C4FF71 #71FFF3
square
#AC71FF #FF717D #C4FF71 #71FFF3
split-complementary
#AC71FF #FFF371 #7DFF71
monochromatic
#6600F6 #8834FF #AC71FF #D0AEFF #EDE0FF

Accessibility & contrast

On white

3.20
#AC71FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AC71FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71FF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71FF#FFFFFF#000000##000000
##AC71FF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#328FFF
Deuteranopia (green-blind)
#488FFC
Tritanopia (blue-blind)
#9B8EAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac71ff;
/* rgb */ color: rgb(172, 113, 255);
/* oklch */ color: oklch(67.4% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#c99cff',
    500: '#ac71ff',
    950: '#000000',
  },
}
SCSS
$custom: #ac71ff;
$custom-light: #c99cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71ff",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 264.93,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67431,
    "c": 0.20433,
    "h": 300.1
  },
  "luminance": 0.27801
}

Semantic roles & 50–950 ramp

primary
#AC71FF
secondary
#E9F7D4
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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