#AC7BEE#AC7BEE

#AC7BEE is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.169 H 301.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AC7BEE
RGBrgb(172, 123, 238)
HSLhsl(266, 77%, 71%)
HSVhsv(266, 48%, 93%)
CMYKcmyk(27.7%, 48.3%, 0%, 6.7%)
CIE-LABlab(60.88, 41.83, -51.18)
CIE-LCHlch(60.88, 66.10, 309.26°)
OKLaboklab(68% 0.089 -0.1438)
OKLCHoklch(68% 0.169 301.8)
XYZxyz(39.5253, 29.1095, 84.4087)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7BEE #BDEE7B
analogous
#7B83EE #AC7BEE #E57BEE
triadic
#AC7BEE #EEAC7B #7BEEAC
tetradic
#AC7BEE #EE7B83 #BDEE7B #7BEEE5
square
#AC7BEE #EE7B83 #BDEE7B #7BEEE5
split-complementary
#AC7BEE #EEE57B #83EE7B
monochromatic
#6A1BD3 #8A45E7 #AC7BEE #CEB1F5 #EEE4FC

Accessibility & contrast

On white

3.08
#AC7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AC7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7BEE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7BEE#FFFFFF#000000##000000
##AC7BEE1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#6492EB
Tritanopia (blue-blind)
#A090A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac7bee;
/* rgb */ color: rgb(172, 123, 238);
/* oklch */ color: oklch(68.0% 0.169 301.8);
Tailwind
colors: {
  custom: {
    50: '#c7a2f4',
    500: '#ac7bee',
    950: '#000000',
  },
}
SCSS
$custom: #ac7bee;
$custom-light: #c7a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7bee",
  "rgb": {
    "r": 172,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 265.565,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.16906,
    "h": 301.8
  },
  "luminance": 0.2911
}

Semantic roles & 50–950 ramp

primary
#AC7BEE
secondary
#E5F2D3
accent
#D90C82
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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