#AC71FC#AC71FC

#AC71FC is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.2% C 0.201 H 300.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AC71FC
RGBrgb(172, 113, 252)
HSLhsl(265, 96%, 72%)
HSVhsv(265, 55%, 99%)
CMYKcmyk(31.7%, 55.2%, 0%, 1.2%)
CIE-LABlab(59.53, 50.63, -61.06)
CIE-LCHlch(59.53, 79.32, 309.66°)
OKLaboklab(67.25% 0.1026 -0.1727)
OKLCHoklch(67.25% 0.201 300.7)
XYZxyz(40.4849, 27.6090, 95.2728)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71FC #C1FC71
analogous
#717CFC #AC71FC #F271FC
triadic
#AC71FC #FCAC71 #71FCAC
tetradic
#AC71FC #FC717C #C1FC71 #71FCF2
square
#AC71FC #FC717C #C1FC71 #71FCF2
split-complementary
#AC71FC #FCF271 #7CFC71
monochromatic
#6805EE #8935FB #AC71FC #CFADFD #EDE1FE

Accessibility & contrast

On white

3.22
#AC71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AC71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71FC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71FC#FFFFFF#000000##000000
##AC71FC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#4C8FF9
Tritanopia (blue-blind)
#9C8DAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac71fc;
/* rgb */ color: rgb(172, 113, 252);
/* oklch */ color: oklch(67.2% 0.201 300.7);
Tailwind
colors: {
  custom: {
    50: '#c99cfe',
    500: '#ac71fc',
    950: '#000000',
  },
}
SCSS
$custom: #ac71fc;
$custom-light: #c99cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71fc",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 265.468,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67247,
    "c": 0.20083,
    "h": 300.7
  },
  "luminance": 0.27609
}

Semantic roles & 50–950 ramp

primary
#AC71FC
secondary
#E7F6D3
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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