#AC71EC#AC71EC

#AC71EC is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.182 H 304.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AC71EC
RGBrgb(172, 113, 236)
HSLhsl(269, 76%, 68%)
HSVhsv(269, 52%, 93%)
CMYKcmyk(27.1%, 52.1%, 0%, 7.5%)
CIE-LABlab(58.64, 46.81, -53.63)
CIE-LCHlch(58.64, 71.19, 311.12°)
OKLaboklab(66.3% 0.1018 -0.1509)
OKLCHoklch(66.3% 0.182 304)
XYZxyz(38.0554, 26.6372, 82.4773)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71EC #B1EC71
analogous
#7173EC #AC71EC #E971EC
triadic
#AC71EC #ECAC71 #71ECAC
tetradic
#AC71EC #EC7173 #B1EC71 #71ECE9
square
#AC71EC #EC7173 #B1EC71 #71ECE9
split-complementary
#AC71EC #ECE971 #73EC71
monochromatic
#6E1BC8 #8C3BE5 #AC71EC #CCA7F3 #EBDDFA

Accessibility & contrast

On white

3.32
#AC71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AC71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71EC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71EC#FFFFFF#000000##000000
##AC71EC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF0
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#A188A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac71ec;
/* rgb */ color: rgb(172, 113, 236);
/* oklch */ color: oklch(66.3% 0.182 304.0);
Tailwind
colors: {
  custom: {
    50: '#c89bf3',
    500: '#ac71ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac71ec;
$custom-light: #c89bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71ec",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 268.78,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66296,
    "c": 0.18205,
    "h": 304
  },
  "luminance": 0.26637
}

Semantic roles & 50–950 ramp

primary
#AC71EC
secondary
#DDEFCA
accent
#D90D77
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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