#AC71F7#AC71F7

#AC71F7 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.195 H 301.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AC71F7
RGBrgb(172, 113, 247)
HSLhsl(266, 89%, 71%)
HSVhsv(266, 54%, 97%)
CMYKcmyk(30.4%, 54.3%, 0%, 3.1%)
CIE-LABlab(59.25, 49.42, -58.76)
CIE-LCHlch(59.25, 76.78, 310.07°)
OKLaboklab(66.94% 0.1024 -0.1659)
OKLCHoklch(66.94% 0.195 301.7)
XYZxyz(39.7030, 27.2962, 91.1547)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71F7 #BCF771
analogous
#7179F7 #AC71F7 #EF71F7
triadic
#AC71F7 #F7AC71 #71F7AC
tetradic
#AC71F7 #F77179 #BCF771 #71F7EF
square
#AC71F7 #F77179 #BCF771 #71F7EF
split-complementary
#AC71F7 #F7EF71 #79F771
monochromatic
#6A0DE1 #8A37F4 #AC71F7 #CEABFA #EEE2FD

Accessibility & contrast

On white

3.25
#AC71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AC71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71F7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71F7#FFFFFF#000000##000000
##AC71F71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFB
Deuteranopia (green-blind)
#518EF4
Tritanopia (blue-blind)
#9D8BA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac71f7;
/* rgb */ color: rgb(172, 113, 247);
/* oklch */ color: oklch(66.9% 0.195 301.7);
Tailwind
colors: {
  custom: {
    50: '#c89cfa',
    500: '#ac71f7',
    950: '#000000',
  },
}
SCSS
$custom: #ac71f7;
$custom-light: #c89cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71f7",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 266.418,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66944,
    "c": 0.19497,
    "h": 301.7
  },
  "luminance": 0.27296
}

Semantic roles & 50–950 ramp

primary
#AC71F7
secondary
#E4F4D0
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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