#AC7CEC#AC7CEC

#AC7CEC is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.165 H 302.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AC7CEC
RGBrgb(172, 124, 236)
HSLhsl(266, 75%, 71%)
HSVhsv(266, 47%, 93%)
CMYKcmyk(27.1%, 47.5%, 0%, 7.5%)
CIE-LABlab(60.99, 40.80, -49.88)
CIE-LCHlch(60.99, 64.45, 309.28°)
OKLaboklab(68.05% 0.0874 -0.14)
OKLCHoklch(68.05% 0.165 302)
XYZxyz(39.3578, 29.2420, 82.9114)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7CEC #BCEC7C
analogous
#7C84EC #AC7CEC #E47CEC
triadic
#AC7CEC #ECAC7C #7CECAC
tetradic
#AC7CEC #EC7C84 #BCEC7C #7CECE4
square
#AC7CEC #EC7C84 #BCEC7C #7CECE4
split-complementary
#AC7CEC #ECE47C #84EC7C
monochromatic
#6A1ED0 #8A47E4 #AC7CEC #CEB1F4 #EEE4FB

Accessibility & contrast

On white

3.07
#AC7CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AC7CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7CEC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7CEC#FFFFFF#000000##000000
##AC7CEC1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#A090A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac7cec;
/* rgb */ color: rgb(172, 124, 236);
/* oklch */ color: oklch(68.0% 0.165 302.0);
Tailwind
colors: {
  custom: {
    50: '#c7a3f2',
    500: '#ac7cec',
    950: '#000000',
  },
}
SCSS
$custom: #ac7cec;
$custom-light: #c7a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7cec",
  "rgb": {
    "r": 172,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 265.714,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68049,
    "c": 0.16504,
    "h": 302
  },
  "luminance": 0.29242
}

Semantic roles & 50–950 ramp

primary
#AC7CEC
secondary
#E4F1D3
accent
#D70F81
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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