#AC73EC#AC73EC

#AC73EC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.179 H 303.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AC73EC
RGBrgb(172, 115, 236)
HSLhsl(268, 76%, 69%)
HSVhsv(268, 51%, 93%)
CMYKcmyk(27.1%, 51.3%, 0%, 7.5%)
CIE-LABlab(59.06, 45.73, -52.96)
CIE-LCHlch(59.06, 69.97, 310.81°)
OKLaboklab(66.61% 0.0993 -0.149)
OKLCHoklch(66.61% 0.179 303.7)
XYZxyz(38.2810, 27.0883, 82.5525)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC73EC #B3EC73
analogous
#7377EC #AC73EC #E873EC
triadic
#AC73EC #ECAC73 #73ECAC
tetradic
#AC73EC #EC7377 #B3EC73 #73ECE8
square
#AC73EC #EC7377 #B3EC73 #73ECE8
split-complementary
#AC73EC #ECE873 #77EC73
monochromatic
#6D1BC9 #8C3DE5 #AC73EC #CCA9F3 #ECDFFB

Accessibility & contrast

On white

3.27
#AC73EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AC73EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC73EC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC73EC#FFFFFF#000000##000000
##AC73EC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#A189A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac73ec;
/* rgb */ color: rgb(172, 115, 236);
/* oklch */ color: oklch(66.6% 0.179 303.7);
Tailwind
colors: {
  custom: {
    50: '#c89df3',
    500: '#ac73ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac73ec;
$custom-light: #c89df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac73ec",
  "rgb": {
    "r": 172,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 268.264,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.179,
    "h": 303.7
  },
  "luminance": 0.27088
}

Semantic roles & 50–950 ramp

primary
#AC73EC
secondary
#DEEFCC
accent
#D80D79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC73EC

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

Preview Lab → · Contrast checker → · Palette generator →

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