#AC71F9#AC71F9

#AC71F9 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.1% C 0.197 H 301.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AC71F9
RGBrgb(172, 113, 249)
HSLhsl(266, 92%, 71%)
HSVhsv(266, 55%, 98%)
CMYKcmyk(30.9%, 54.6%, 0%, 2.4%)
CIE-LABlab(59.36, 49.90, -59.68)
CIE-LCHlch(59.36, 77.80, 309.90°)
OKLaboklab(67.06% 0.1025 -0.1686)
OKLCHoklch(67.06% 0.197 301.3)
XYZxyz(40.0133, 27.4203, 92.7888)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71F9 #BEF971
analogous
#717AF9 #AC71F9 #F071F9
triadic
#AC71F9 #F9AC71 #71F9AC
tetradic
#AC71F9 #F9717A #BEF971 #71F9F0
square
#AC71F9 #F9717A #BEF971 #71F9F0
split-complementary
#AC71F9 #F9F071 #7AF971
monochromatic
#690AE6 #8A36F7 #AC71F9 #CEACFB #EEE2FE

Accessibility & contrast

On white

3.24
#AC71F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AC71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71F9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71F9#FFFFFF#000000##000000
##AC71F91.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFE
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#9D8CAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac71f9;
/* rgb */ color: rgb(172, 113, 249);
/* oklch */ color: oklch(67.1% 0.197 301.3);
Tailwind
colors: {
  custom: {
    50: '#c89cfc',
    500: '#ac71f9',
    950: '#000000',
  },
}
SCSS
$custom: #ac71f9;
$custom-light: #c89cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71f9",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 266.029,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.19732,
    "h": 301.3
  },
  "luminance": 0.2742
}

Semantic roles & 50–950 ramp

primary
#AC71F9
secondary
#E5F5D1
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AC71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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