#AC71EB#AC71EB

#AC71EB is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.181 H 304.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AC71EB
RGBrgb(172, 113, 235)
HSLhsl(269, 75%, 68%)
HSVhsv(269, 52%, 92%)
CMYKcmyk(26.8%, 51.9%, 0%, 7.8%)
CIE-LABlab(58.58, 46.58, -53.16)
CIE-LCHlch(58.58, 70.68, 311.22°)
OKLaboklab(66.24% 0.1018 -0.1495)
OKLCHoklch(66.24% 0.181 304.2)
XYZxyz(37.9105, 26.5792, 81.7143)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71EB #B0EB71
analogous
#7173EB #AC71EB #E971EB
triadic
#AC71EB #EBAC71 #71EBAC
tetradic
#AC71EB #EB7173 #B0EB71 #71EBE9
square
#AC71EB #EB7173 #B0EB71 #71EBE9
split-complementary
#AC71EB #EBE971 #73EB71
monochromatic
#6E1CC6 #8D3BE3 #AC71EB #CBA7F3 #EBDCFA

Accessibility & contrast

On white

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

On black

6.32
#AC71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71EB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71EB#FFFFFF#000000##000000
##AC71EB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#A187A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac71eb;
/* rgb */ color: rgb(172, 113, 235);
/* oklch */ color: oklch(66.2% 0.181 304.2);
Tailwind
colors: {
  custom: {
    50: '#c89bf2',
    500: '#ac71eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac71eb;
$custom-light: #c89bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71eb",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 269.016,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66238,
    "c": 0.18087,
    "h": 304.2
  },
  "luminance": 0.26579
}

Semantic roles & 50–950 ramp

primary
#AC71EB
secondary
#DDEEC9
accent
#D70E76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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