#AC7EEB#AC7EEB

#AC7EEB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.3% C 0.161 H 301.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AC7EEB
RGBrgb(172, 126, 235)
HSLhsl(265, 73%, 71%)
HSVhsv(265, 46%, 92%)
CMYKcmyk(26.8%, 46.4%, 0%, 7.8%)
CIE-LABlab(61.39, 39.46, -48.71)
CIE-LCHlch(61.39, 62.69, 309.01°)
OKLaboklab(68.33% 0.0846 -0.1366)
OKLCHoklch(68.33% 0.161 301.8)
XYZxyz(39.4661, 29.6905, 82.2328)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EEB #BDEB7E
analogous
#7E86EB #AC7EEB #E27EEB
triadic
#AC7EEB #EBAC7E #7EEBAC
tetradic
#AC7EEB #EB7E86 #BDEB7E #7EEBE2
square
#AC7EEB #EB7E86 #BDEB7E #7EEBE2
split-complementary
#AC7EEB #EBE27E #86EB7E
monochromatic
#6A20CF #8A49E3 #AC7EEB #CEB3F3 #EEE5FB

Accessibility & contrast

On white

3.03
#AC7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AC7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7EEB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EEB#FFFFFF#000000##000000
##AC7EEB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#A091A9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac7eeb;
/* rgb */ color: rgb(172, 126, 235);
/* oklch */ color: oklch(68.3% 0.161 301.8);
Tailwind
colors: {
  custom: {
    50: '#c7a4f2',
    500: '#ac7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ac7eeb;
$custom-light: #c7a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7eeb",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 265.321,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68325,
    "c": 0.16067,
    "h": 301.8
  },
  "luminance": 0.29691
}

Semantic roles & 50–950 ramp

primary
#AC7EEB
secondary
#E5F1D4
accent
#D51082
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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