#AC7DEB#AC7DEB

#AC7DEB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.162 H 302.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AC7DEB
RGBrgb(172, 125, 235)
HSLhsl(266, 73%, 71%)
HSVhsv(266, 47%, 92%)
CMYKcmyk(26.8%, 46.8%, 0%, 7.8%)
CIE-LABlab(61.16, 40.01, -49.06)
CIE-LCHlch(61.16, 63.31, 309.20°)
OKLaboklab(68.16% 0.086 -0.1376)
OKLCHoklch(68.16% 0.162 302)
XYZxyz(39.3389, 29.4360, 82.1904)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DEB #BCEB7D
analogous
#7D85EB #AC7DEB #E37DEB
triadic
#AC7DEB #EBAC7D #7DEBAC
tetradic
#AC7DEB #EB7D85 #BCEB7D #7DEBE3
square
#AC7DEB #EB7D85 #BCEB7D #7DEBE3
split-complementary
#AC7DEB #EBE37D #85EB7D
monochromatic
#6A20CE #8A48E3 #AC7DEB #CEB2F3 #EEE4FB

Accessibility & contrast

On white

3.05
#AC7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AC7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7DEB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DEB#FFFFFF#000000##000000
##AC7DEB1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac7deb;
/* rgb */ color: rgb(172, 125, 235);
/* oklch */ color: oklch(68.2% 0.162 302.0);
Tailwind
colors: {
  custom: {
    50: '#c7a3f2',
    500: '#ac7deb',
    950: '#000000',
  },
}
SCSS
$custom: #ac7deb;
$custom-light: #c7a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7deb",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 265.636,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.16224,
    "h": 302
  },
  "luminance": 0.29436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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