#AC71FE#AC71FE

#AC71FE is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.4% C 0.203 H 300.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AC71FE
RGBrgb(172, 113, 254)
HSLhsl(265, 99%, 72%)
HSVhsv(265, 56%, 100%)
CMYKcmyk(32.3%, 55.5%, 0%, 0.4%)
CIE-LABlab(59.65, 51.11, -61.98)
CIE-LCHlch(59.65, 80.33, 309.51°)
OKLaboklab(67.37% 0.1026 -0.1754)
OKLCHoklch(67.37% 0.203 300.3)
XYZxyz(40.8035, 27.7364, 96.9507)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71FE #C3FE71
analogous
#717DFE #AC71FE #F271FE
triadic
#AC71FE #FEAC71 #71FEAC
tetradic
#AC71FE #FE717D #C3FE71 #71FEF2
square
#AC71FE #FE717D #C3FE71 #71FEF2
split-complementary
#AC71FE #FEF271 #7DFE71
monochromatic
#6702F3 #8834FE #AC71FE #D0AEFE #EDE1FF

Accessibility & contrast

On white

3.21
#AC71FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AC71FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71FE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71FE#FFFFFF#000000##000000
##AC71FE1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#9B8DAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ac71fe;
/* rgb */ color: rgb(172, 113, 254);
/* oklch */ color: oklch(67.4% 0.203 300.3);
Tailwind
colors: {
  custom: {
    50: '#c99cff',
    500: '#ac71fe',
    950: '#000000',
  },
}
SCSS
$custom: #ac71fe;
$custom-light: #c99cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71fe",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 265.106,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67369,
    "c": 0.20316,
    "h": 300.3
  },
  "luminance": 0.27737
}

Semantic roles & 50–950 ramp

primary
#AC71FE
secondary
#E8F7D4
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AC71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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