#AC7DFC#AC7DFC

#AC7DFC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.183 H 298.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AC7DFC
RGBrgb(172, 125, 252)
HSLhsl(262, 95%, 74%)
HSVhsv(262, 50%, 99%)
CMYKcmyk(31.7%, 50.4%, 0%, 1.2%)
CIE-LABlab(62.05, 44.14, -57.04)
CIE-LCHlch(62.05, 72.12, 307.73°)
OKLaboklab(69.11% 0.0877 -0.1609)
OKLCHoklch(69.11% 0.183 298.6)
XYZxyz(41.9133, 30.4658, 95.7489)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DFC #CDFC7D
analogous
#7D8EFC #AC7DFC #EC7DFC
triadic
#AC7DFC #FCAC7D #7DFCAC
tetradic
#AC7DFC #FC7D8E #CDFC7D #7DFCEC
square
#AC7DFC #FC7D8E #CDFC7D #7DFCEC
split-complementary
#AC7DFC #FCEC7D #8EFC7D
monochromatic
#6006F9 #8641FB #AC7DFC #D2B9FD #ECE1FE

Accessibility & contrast

On white

2.96
#AC7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AC7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7DFC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DFC#FFFFFF#000000##000000
##AC7DFC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#5C95F9
Tritanopia (blue-blind)
#9B95B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7dfc;
/* rgb */ color: rgb(172, 125, 252);
/* oklch */ color: oklch(69.1% 0.183 298.6);
Tailwind
colors: {
  custom: {
    50: '#c8a4fe',
    500: '#ac7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #ac7dfc;
$custom-light: #c8a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7dfc",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 262.205,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69111,
    "c": 0.18321,
    "h": 298.6
  },
  "luminance": 0.30466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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