#AC7EFE#AC7EFE

#AC7EFE is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.184 H 298.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AC7EFE
RGBrgb(172, 126, 254)
HSLhsl(262, 98%, 75%)
HSVhsv(262, 50%, 100%)
CMYKcmyk(32.3%, 50.4%, 0%, 0.4%)
CIE-LABlab(62.38, 44.08, -57.62)
CIE-LCHlch(62.38, 72.54, 307.42°)
OKLaboklab(69.39% 0.0866 -0.1626)
OKLCHoklch(69.39% 0.184 298)
XYZxyz(42.3591, 30.8477, 97.4692)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EFE #D0FE7E
analogous
#7E90FE #AC7EFE #EC7EFE
triadic
#AC7EFE #FEAC7E #7EFEAC
tetradic
#AC7EFE #FE7E90 #D0FE7E #7EFEEC
square
#AC7EFE #FE7E90 #D0FE7E #7EFEEC
split-complementary
#AC7EFE #FEEC7E #90FE7E
monochromatic
#5E05FD #8541FE #AC7EFE #D3BBFE #EBE1FF

Accessibility & contrast

On white

2.93
#AC7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AC7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7EFE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EFE#FFFFFF#000000##000000
##AC7EFE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#5B96FB
Tritanopia (blue-blind)
#9A97B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ac7efe;
/* rgb */ color: rgb(172, 126, 254);
/* oklch */ color: oklch(69.4% 0.184 298.0);
Tailwind
colors: {
  custom: {
    50: '#c8a4ff',
    500: '#ac7efe',
    950: '#000000',
  },
}
SCSS
$custom: #ac7efe;
$custom-light: #c8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7efe",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 261.563,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69388,
    "c": 0.18418,
    "h": 298
  },
  "luminance": 0.30848
}

Semantic roles & 50–950 ramp

primary
#AC7EFE
secondary
#EAF7D4
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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