#AC7DFD#AC7DFD

#AC7DFD is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.184 H 298.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AC7DFD
RGBrgb(172, 125, 253)
HSLhsl(262, 97%, 74%)
HSVhsv(262, 51%, 99%)
CMYKcmyk(32%, 50.6%, 0%, 0.8%)
CIE-LABlab(62.11, 44.38, -57.50)
CIE-LCHlch(62.11, 72.64, 307.66°)
OKLaboklab(69.17% 0.0877 -0.1622)
OKLCHoklch(69.17% 0.184 298.4)
XYZxyz(42.0722, 30.5293, 96.5857)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DFD #CEFD7D
analogous
#7D8EFD #AC7DFD #EC7DFD
triadic
#AC7DFD #FDAC7D #7DFDAC
tetradic
#AC7DFD #FD7D8E #CEFD7D #7DFDEC
square
#AC7DFD #FD7D8E #CEFD7D #7DFDEC
split-complementary
#AC7DFD #FDEC7D #8EFD7D
monochromatic
#5F04FB #8641FC #AC7DFD #D2B9FE #ECE1FF

Accessibility & contrast

On white

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

On black

7.11
#AC7DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7DFD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DFD#FFFFFF#000000##000000
##AC7DFD1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5B95FA
Tritanopia (blue-blind)
#9B96B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7dfd;
/* rgb */ color: rgb(172, 125, 253);
/* oklch */ color: oklch(69.2% 0.184 298.4);
Tailwind
colors: {
  custom: {
    50: '#c8a4ff',
    500: '#ac7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ac7dfd;
$custom-light: #c8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7dfd",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 262.031,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69169,
    "c": 0.18444,
    "h": 298.4
  },
  "luminance": 0.3053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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