#AC71E7#AC71E7

#AC71E7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.176 H 305.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AC71E7
RGBrgb(172, 113, 231)
HSLhsl(270, 71%, 67%)
HSVhsv(270, 51%, 91%)
CMYKcmyk(25.5%, 51.1%, 0%, 9.4%)
CIE-LABlab(58.37, 45.64, -51.27)
CIE-LCHlch(58.37, 68.64, 311.68°)
OKLaboklab(66.01% 0.1015 -0.144)
OKLCHoklch(66.01% 0.176 305.2)
XYZxyz(37.3391, 26.3507, 78.7049)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71E7 #ACE771
analogous
#7171E7 #AC71E7 #E771E7
triadic
#AC71E7 #E7AC71 #71E7AC
tetradic
#AC71E7 #E77171 #ACE771 #71E7E7
square
#AC71E7 #E77171 #ACE771 #71E7E7
split-complementary
#AC71E7 #E7E771 #71E771
monochromatic
#6F20BE #8D3DDE #AC71E7 #CBA5F0 #E9DAF9

Accessibility & contrast

On white

3.35
#AC71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AC71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71E7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71E7#FFFFFF#000000##000000
##AC71E71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEB
Deuteranopia (green-blind)
#5E8DE4
Tritanopia (blue-blind)
#A286A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac71e7;
/* rgb */ color: rgb(172, 113, 231);
/* oklch */ color: oklch(66.0% 0.176 305.2);
Tailwind
colors: {
  custom: {
    50: '#c79bef',
    500: '#ac71e7',
    950: '#000000',
  },
}
SCSS
$custom: #ac71e7;
$custom-light: #c79bef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71e7",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 270,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6601,
    "c": 0.17616,
    "h": 305.2
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#AC71E7
secondary
#DAECC7
accent
#D31273
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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