#AC71EF#AC71EF

#AC71EF is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.186 H 303.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AC71EF
RGBrgb(172, 113, 239)
HSLhsl(268, 80%, 69%)
HSVhsv(268, 53%, 94%)
CMYKcmyk(28%, 52.7%, 0%, 6.3%)
CIE-LABlab(58.80, 47.52, -55.04)
CIE-LCHlch(58.80, 72.71, 310.81°)
OKLaboklab(66.47% 0.102 -0.155)
OKLCHoklch(66.47% 0.186 303.3)
XYZxyz(38.4949, 26.8130, 84.7920)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71EF #B4EF71
analogous
#7175EF #AC71EF #EB71EF
triadic
#AC71EF #EFAC71 #71EFAC
tetradic
#AC71EF #EF7175 #B4EF71 #71EFEB
square
#AC71EF #EF7175 #B4EF71 #71EFEB
split-complementary
#AC71EF #EFEB71 #75EF71
monochromatic
#6D17CE #8C3AE9 #AC71EF #CCA8F5 #ECDFFB

Accessibility & contrast

On white

3.30
#AC71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AC71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71EF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71EF#FFFFFF#000000##000000
##AC71EF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#588DEC
Tritanopia (blue-blind)
#A089A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac71ef;
/* rgb */ color: rgb(172, 113, 239);
/* oklch */ color: oklch(66.5% 0.186 303.3);
Tailwind
colors: {
  custom: {
    50: '#c89bf5',
    500: '#ac71ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac71ef;
$custom-light: #c89bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71ef",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 268.095,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6647,
    "c": 0.18558,
    "h": 303.3
  },
  "luminance": 0.26813
}

Semantic roles & 50–950 ramp

primary
#AC71EF
secondary
#DFF0CB
accent
#DC0979
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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