#AC71F8#AC71F8

#AC71F8 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.196 H 301.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AC71F8
RGBrgb(172, 113, 248)
HSLhsl(266, 91%, 71%)
HSVhsv(266, 54%, 97%)
CMYKcmyk(30.6%, 54.4%, 0%, 2.7%)
CIE-LABlab(59.30, 49.66, -59.22)
CIE-LCHlch(59.30, 77.29, 309.98°)
OKLaboklab(67% 0.1024 -0.1673)
OKLCHoklch(67% 0.196 301.5)
XYZxyz(39.8577, 27.3581, 91.9695)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71F8 #BDF871
analogous
#7179F8 #AC71F8 #EF71F8
triadic
#AC71F8 #F8AC71 #71F8AC
tetradic
#AC71F8 #F87179 #BDF871 #71F8EF
square
#AC71F8 #F87179 #BDF871 #71F8EF
split-complementary
#AC71F8 #F8EF71 #79F871
monochromatic
#6A0BE3 #8A37F5 #AC71F8 #CEABFB #EEE2FE

Accessibility & contrast

On white

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

On black

6.47
#AC71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71F8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71F8#FFFFFF#000000##000000
##AC71F81.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFD
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#9D8BAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ac71f8;
/* rgb */ color: rgb(172, 113, 248);
/* oklch */ color: oklch(67.0% 0.196 301.5);
Tailwind
colors: {
  custom: {
    50: '#c89cfb',
    500: '#ac71f8',
    950: '#000000',
  },
}
SCSS
$custom: #ac71f8;
$custom-light: #c89cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71f8",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 266.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67004,
    "c": 0.19614,
    "h": 301.5
  },
  "luminance": 0.27358
}

Semantic roles & 50–950 ramp

primary
#AC71F8
secondary
#E5F5D0
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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