#AC84EC#AC84EC

#AC84EC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.4% C 0.152 H 300.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AC84EC
RGBrgb(172, 132, 236)
HSLhsl(263, 73%, 72%)
HSVhsv(263, 44%, 93%)
CMYKcmyk(27.1%, 44.1%, 0%, 7.5%)
CIE-LABlab(62.78, 36.36, -47.05)
CIE-LCHlch(62.78, 59.46, 307.69°)
OKLaboklab(69.39% 0.0767 -0.1318)
OKLCHoklch(69.39% 0.152 300.2)
XYZxyz(40.4014, 31.3291, 83.2593)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC84EC #C4EC84
analogous
#8490EC #AC84EC #E084EC
triadic
#AC84EC #ECAC84 #84ECAC
tetradic
#AC84EC #EC8490 #C4EC84 #84ECE0
square
#AC84EC #EC8490 #C4EC84 #84ECE0
split-complementary
#AC84EC #ECE084 #90EC84
monochromatic
#6621D5 #884FE4 #AC84EC #D0B9F4 #EDE4FB

Accessibility & contrast

On white

2.89
#AC84EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AC84EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC84EC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC84EC#FFFFFF#000000##000000
##AC84EC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#A096AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac84ec;
/* rgb */ color: rgb(172, 132, 236);
/* oklch */ color: oklch(69.4% 0.152 300.2);
Tailwind
colors: {
  custom: {
    50: '#c7a8f2',
    500: '#ac84ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac84ec;
$custom-light: #c7a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac84ec",
  "rgb": {
    "r": 172,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 263.077,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6939,
    "c": 0.15246,
    "h": 300.2
  },
  "luminance": 0.31329
}

Semantic roles & 50–950 ramp

primary
#AC84EC
secondary
#E9F3D8
accent
#D5108A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AC84EC

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

Preview Lab → · Contrast checker → · Palette generator →

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