#AC71EE#AC71EE

#AC71EE is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.184 H 303.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AC71EE
RGBrgb(172, 113, 238)
HSLhsl(268, 79%, 69%)
HSVhsv(268, 53%, 93%)
CMYKcmyk(27.7%, 52.5%, 0%, 6.7%)
CIE-LABlab(58.75, 47.28, -54.57)
CIE-LCHlch(58.75, 72.20, 310.91°)
OKLaboklab(66.41% 0.102 -0.1536)
OKLCHoklch(66.41% 0.184 303.6)
XYZxyz(38.3476, 26.7540, 84.0161)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC71EE #B3EE71
analogous
#7175EE #AC71EE #EB71EE
triadic
#AC71EE #EEAC71 #71EEAC
tetradic
#AC71EE #EE7175 #B3EE71 #71EEEB
square
#AC71EE #EE7175 #B3EE71 #71EEEB
split-complementary
#AC71EE #EEEB71 #75EE71
monochromatic
#6D18CC #8C3AE7 #AC71EE #CCA8F5 #ECDEFB

Accessibility & contrast

On white

3.31
#AC71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AC71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC71EE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC71EE#FFFFFF#000000##000000
##AC71EE1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#A088A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac71ee;
/* rgb */ color: rgb(172, 113, 238);
/* oklch */ color: oklch(66.4% 0.184 303.6);
Tailwind
colors: {
  custom: {
    50: '#c89bf4',
    500: '#ac71ee',
    950: '#000000',
  },
}
SCSS
$custom: #ac71ee;
$custom-light: #c89bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac71ee",
  "rgb": {
    "r": 172,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 268.32,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66411,
    "c": 0.1844,
    "h": 303.6
  },
  "luminance": 0.26754
}

Semantic roles & 50–950 ramp

primary
#AC71EE
secondary
#DEF0CB
accent
#DB0B79
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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