#AC71EA#AC71EA

#AC71EA is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.180 H 304.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AC71EA
RGBrgb(172, 113, 234)
HSLhsl(269, 74%, 68%)
HSVhsv(269, 52%, 92%)
CMYKcmyk(26.5%, 51.7%, 0%, 8.2%)
CIE-LABlab(58.53, 46.34, -52.69)
CIE-LCHlch(58.53, 70.17, 311.33°)
OKLaboklab(66.18% 0.1017 -0.1481)
OKLCHoklch(66.18% 0.18 304.5)
XYZxyz(37.7665, 26.5216, 80.9555)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71EA #AFEA71
analogous
#7172EA #AC71EA #E871EA
triadic
#AC71EA #EAAC71 #71EAAC
tetradic
#AC71EA #EA7172 #AFEA71 #71EAE8
square
#AC71EA #EA7172 #AFEA71 #71EAE8
split-complementary
#AC71EA #EAE871 #72EA71
monochromatic
#6E1DC4 #8D3CE2 #AC71EA #CBA6F2 #EADCFA

Accessibility & contrast

On white

3.33
#AC71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AC71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71EA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71EA#FFFFFF#000000##000000
##AC71EA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BEE
Deuteranopia (green-blind)
#5C8DE7
Tritanopia (blue-blind)
#A187A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac71ea;
/* rgb */ color: rgb(172, 113, 234);
/* oklch */ color: oklch(66.2% 0.180 304.5);
Tailwind
colors: {
  custom: {
    50: '#c89bf1',
    500: '#ac71ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac71ea;
$custom-light: #c89bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71ea",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 269.256,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66181,
    "c": 0.1797,
    "h": 304.5
  },
  "luminance": 0.26521
}

Semantic roles & 50–950 ramp

primary
#AC71EA
secondary
#DCEEC9
accent
#D60F75
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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