#AC71FA#AC71FA

#AC71FA is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.198 H 301.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AC71FA
RGBrgb(172, 113, 250)
HSLhsl(266, 93%, 71%)
HSVhsv(266, 55%, 98%)
CMYKcmyk(31.2%, 54.8%, 0%, 2%)
CIE-LABlab(59.42, 50.14, -60.14)
CIE-LCHlch(59.42, 78.30, 309.82°)
OKLaboklab(67.13% 0.1025 -0.17)
OKLCHoklch(67.13% 0.198 301.1)
XYZxyz(40.1697, 27.4829, 93.6124)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71FA #BFFA71
analogous
#717AFA #AC71FA #F071FA
triadic
#AC71FA #FAAC71 #71FAAC
tetradic
#AC71FA #FA717A #BFFA71 #71FAF0
square
#AC71FA #FA717A #BFFA71 #71FAF0
split-complementary
#AC71FA #FAF071 #7AFA71
monochromatic
#6908E8 #8936F8 #AC71FA #CFACFC #EEE1FE

Accessibility & contrast

On white

3.23
#AC71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AC71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71FA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71FA#FFFFFF#000000##000000
##AC71FA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFF
Deuteranopia (green-blind)
#4E8EF7
Tritanopia (blue-blind)
#9C8CAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac71fa;
/* rgb */ color: rgb(172, 113, 250);
/* oklch */ color: oklch(67.1% 0.198 301.1);
Tailwind
colors: {
  custom: {
    50: '#c99cfd',
    500: '#ac71fa',
    950: '#000000',
  },
}
SCSS
$custom: #ac71fa;
$custom-light: #c99cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71fa",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 265.839,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67125,
    "c": 0.19849,
    "h": 301.1
  },
  "luminance": 0.27483
}

Semantic roles & 50–950 ramp

primary
#AC71FA
secondary
#E6F5D1
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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