#AC7FEE#AC7FEE

#AC7FEE is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.163 H 300.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AC7FEE
RGBrgb(172, 127, 238)
HSLhsl(264, 77%, 72%)
HSVhsv(264, 47%, 93%)
CMYKcmyk(27.7%, 46.6%, 0%, 6.7%)
CIE-LABlab(61.76, 39.62, -49.78)
CIE-LCHlch(61.76, 63.62, 308.52°)
OKLaboklab(68.65% 0.0837 -0.1397)
OKLCHoklch(68.65% 0.163 300.9)
XYZxyz(40.0317, 30.1223, 84.5775)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FEE #C1EE7F
analogous
#7F8AEE #AC7FEE #E37FEE
triadic
#AC7FEE #EEAC7F #7FEEAC
tetradic
#AC7FEE #EE7F8A #C1EE7F #7FEEE3
square
#AC7FEE #EE7F8A #C1EE7F #7FEEE3
split-complementary
#AC7FEE #EEE37F #8AEE7F
monochromatic
#681CD6 #8949E7 #AC7FEE #CFB5F5 #EDE4FB

Accessibility & contrast

On white

2.99
#AC7FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#AC7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7FEE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FEE#FFFFFF#000000##000000
##AC7FEE1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#6895EB
Tritanopia (blue-blind)
#9F93AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7fee;
/* rgb */ color: rgb(172, 127, 238);
/* oklch */ color: oklch(68.7% 0.163 300.9);
Tailwind
colors: {
  custom: {
    50: '#c7a5f4',
    500: '#ac7fee',
    950: '#000000',
  },
}
SCSS
$custom: #ac7fee;
$custom-light: #c7a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7fee",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 264.324,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68654,
    "c": 0.16283,
    "h": 300.9
  },
  "luminance": 0.30122
}

Semantic roles & 50–950 ramp

primary
#AC7FEE
secondary
#E7F3D6
accent
#D90D86
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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