#AC7EFC#AC7EFC

#AC7EFC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.182 H 298.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AC7EFC
RGBrgb(172, 126, 252)
HSLhsl(262, 95%, 74%)
HSVhsv(262, 50%, 99%)
CMYKcmyk(31.7%, 50%, 0%, 1.2%)
CIE-LABlab(62.27, 43.59, -56.69)
CIE-LCHlch(62.27, 71.51, 307.56°)
OKLaboklab(69.27% 0.0864 -0.1599)
OKLCHoklch(69.27% 0.182 298.4)
XYZxyz(42.0405, 30.7202, 95.7913)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7EFC #CEFC7E
analogous
#7E8FFC #AC7EFC #EB7EFC
triadic
#AC7EFC #FCAC7E #7EFCAC
tetradic
#AC7EFC #FC7E8F #CEFC7E #7EFCEB
square
#AC7EFC #FC7E8F #CEFC7E #7EFCEB
split-complementary
#AC7EFC #FCEB7E #8FFC7E
monochromatic
#5F06F9 #8642FB #AC7EFC #D2BAFD #ECE1FE

Accessibility & contrast

On white

2.94
#AC7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AC7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7EFC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7EFC#FFFFFF#000000##000000
##AC7EFC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#5D95F9
Tritanopia (blue-blind)
#9B96B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7efc;
/* rgb */ color: rgb(172, 126, 252);
/* oklch */ color: oklch(69.3% 0.182 298.4);
Tailwind
colors: {
  custom: {
    50: '#c8a4fe',
    500: '#ac7efc',
    950: '#000000',
  },
}
SCSS
$custom: #ac7efc;
$custom-light: #c8a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7efc",
  "rgb": {
    "r": 172,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 261.905,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69272,
    "c": 0.18172,
    "h": 298.4
  },
  "luminance": 0.30721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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