#AC7DF4#AC7DF4

#AC7DF4 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.7% C 0.173 H 300.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AC7DF4
RGBrgb(172, 125, 244)
HSLhsl(264, 84%, 72%)
HSVhsv(264, 49%, 96%)
CMYKcmyk(29.5%, 48.8%, 0%, 4.3%)
CIE-LABlab(61.63, 42.18, -53.31)
CIE-LCHlch(61.63, 67.98, 308.35°)
OKLaboklab(68.66% 0.087 -0.15)
OKLCHoklch(68.66% 0.173 300.1)
XYZxyz(40.6722, 29.9693, 89.2123)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DF4 #C5F47D
analogous
#7D8AF4 #AC7DF4 #E77DF4
triadic
#AC7DF4 #F4AC7D #7DF4AC
tetradic
#AC7DF4 #F47D8A #C5F47D #7DF4E7
square
#AC7DF4 #F47D8A #C5F47D #7DF4E7
split-complementary
#AC7DF4 #F4E77D #8AF47D
monochromatic
#6513E3 #8845EF #AC7DF4 #D0B5F9 #EDE3FD

Accessibility & contrast

On white

3.00
#AC7DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AC7DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7DF4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DF4#FFFFFF#000000##000000
##AC7DF41.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F8
Deuteranopia (green-blind)
#6294F1
Tritanopia (blue-blind)
#9E93AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7df4;
/* rgb */ color: rgb(172, 125, 244);
/* oklch */ color: oklch(68.7% 0.173 300.1);
Tailwind
colors: {
  custom: {
    50: '#c8a3f8',
    500: '#ac7df4',
    950: '#000000',
  },
}
SCSS
$custom: #ac7df4;
$custom-light: #c8a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7df4",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 263.697,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68655,
    "c": 0.17337,
    "h": 300.1
  },
  "luminance": 0.2997
}

Semantic roles & 50–950 ramp

primary
#AC7DF4
secondary
#E9F5D6
accent
#E1058A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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