#AC7AEC#AC7AEC

#AC7AEC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.168 H 302.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AC7AEC
RGBrgb(172, 122, 236)
HSLhsl(266, 75%, 70%)
HSVhsv(266, 48%, 93%)
CMYKcmyk(27.1%, 48.3%, 0%, 7.5%)
CIE-LABlab(60.56, 41.91, -50.58)
CIE-LCHlch(60.56, 65.69, 309.64°)
OKLaboklab(67.72% 0.0901 -0.142)
OKLCHoklch(67.72% 0.168 302.4)
XYZxyz(39.1097, 28.7458, 82.8287)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AEC #BAEC7A
analogous
#7A81EC #AC7AEC #E57AEC
triadic
#AC7AEC #ECAC7A #7AECAC
tetradic
#AC7AEC #EC7A81 #BAEC7A #7AECE5
square
#AC7AEC #EC7A81 #BAEC7A #7AECE5
split-complementary
#AC7AEC #ECE57A #81EC7A
monochromatic
#6B1DCE #8B44E4 #AC7AEC #CDB0F4 #EEE4FB

Accessibility & contrast

On white

3.11
#AC7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AC7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AEC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AEC#FFFFFF#000000##000000
##AC7AEC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#A08FA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac7aec;
/* rgb */ color: rgb(172, 122, 236);
/* oklch */ color: oklch(67.7% 0.168 302.4);
Tailwind
colors: {
  custom: {
    50: '#c7a1f2',
    500: '#ac7aec',
    950: '#000000',
  },
}
SCSS
$custom: #ac7aec;
$custom-light: #c7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7aec",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 266.316,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67722,
    "c": 0.16816,
    "h": 302.4
  },
  "luminance": 0.28746
}

Semantic roles & 50–950 ramp

primary
#AC7AEC
secondary
#E3F1D1
accent
#D70E7F
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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