#AC7AEB#AC7AEB

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

Color values

HEX#AC7AEB
RGBrgb(172, 122, 235)
HSLhsl(267, 74%, 70%)
HSVhsv(267, 48%, 92%)
CMYKcmyk(26.8%, 48.1%, 0%, 7.8%)
CIE-LABlab(60.51, 41.67, -50.11)
CIE-LCHlch(60.51, 65.17, 309.75°)
OKLaboklab(67.67% 0.09 -0.1406)
OKLCHoklch(67.67% 0.167 302.6)
XYZxyz(38.9649, 28.6879, 82.0657)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AEB #B9EB7A
analogous
#7A80EB #AC7AEB #E57AEB
triadic
#AC7AEB #EBAC7A #7AEBAC
tetradic
#AC7AEB #EB7A80 #B9EB7A #7AEBE5
square
#AC7AEB #EB7A80 #B9EB7A #7AEBE5
split-complementary
#AC7AEB #EBE57A #80EB7A
monochromatic
#6B1FCC #8B45E3 #AC7AEB #CDAFF3 #EEE4FB

Accessibility & contrast

On white

3.12
#AC7AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AC7AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AEB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AEB#FFFFFF#000000##000000
##AC7AEB1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#A18EA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ac7aeb;
/* rgb */ color: rgb(172, 122, 235);
/* oklch */ color: oklch(67.7% 0.167 302.6);
Tailwind
colors: {
  custom: {
    50: '#c7a1f2',
    500: '#ac7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ac7aeb;
$custom-light: #c7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7aeb",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 266.549,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.67666,
    "c": 0.16695,
    "h": 302.6
  },
  "luminance": 0.28688
}

Semantic roles & 50–950 ramp

primary
#AC7AEB
secondary
#E2F0D1
accent
#D6107E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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