#AC71E8#AC71E8

#AC71E8 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.177 H 304.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AC71E8
RGBrgb(172, 113, 232)
HSLhsl(270, 72%, 68%)
HSVhsv(270, 51%, 91%)
CMYKcmyk(25.9%, 51.3%, 0%, 9%)
CIE-LABlab(58.42, 45.87, -51.74)
CIE-LCHlch(58.42, 69.15, 311.56°)
OKLaboklab(66.07% 0.1016 -0.1454)
OKLCHoklch(66.07% 0.177 304.9)
XYZxyz(37.4808, 26.4073, 79.4509)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71E8 #ADE871
analogous
#7171E8 #AC71E8 #E771E8
triadic
#AC71E8 #E8AC71 #71E8AC
tetradic
#AC71E8 #E87171 #ADE871 #71E8E7
square
#AC71E8 #E87171 #ADE871 #71E8E7
split-complementary
#AC71E8 #E8E771 #71E871
monochromatic
#6F1FC0 #8D3CDF #AC71E8 #CBA6F1 #EADAF9

Accessibility & contrast

On white

3.34
#AC71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AC71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71E8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71E8#FFFFFF#000000##000000
##AC71E81.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEC
Deuteranopia (green-blind)
#5D8DE5
Tritanopia (blue-blind)
#A287A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac71e8;
/* rgb */ color: rgb(172, 113, 232);
/* oklch */ color: oklch(66.1% 0.177 304.9);
Tailwind
colors: {
  custom: {
    50: '#c79bf0',
    500: '#ac71e8',
    950: '#000000',
  },
}
SCSS
$custom: #ac71e8;
$custom-light: #c79bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71e8",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 269.748,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66066,
    "c": 0.17734,
    "h": 304.9
  },
  "luminance": 0.26407
}

Semantic roles & 50–950 ramp

primary
#AC71E8
secondary
#DBEDC8
accent
#D41174
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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