#AC7DF5#AC7DF5

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

Color values

HEX#AC7DF5
RGBrgb(172, 125, 245)
HSLhsl(264, 86%, 73%)
HSVhsv(264, 49%, 96%)
CMYKcmyk(29.8%, 49%, 0%, 3.9%)
CIE-LABlab(61.68, 42.42, -53.78)
CIE-LCHlch(61.68, 68.49, 308.27°)
OKLaboklab(68.71% 0.0871 -0.1514)
OKLCHoklch(68.71% 0.175 299.9)
XYZxyz(40.8244, 30.0302, 90.0141)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DF5 #C6F57D
analogous
#7D8AF5 #AC7DF5 #E87DF5
triadic
#AC7DF5 #F5AC7D #7DF5AC
tetradic
#AC7DF5 #F57D8A #C6F57D #7DF5E8
square
#AC7DF5 #F57D8A #C6F57D #7DF5E8
split-complementary
#AC7DF5 #F5E87D #8AF57D
monochromatic
#6512E6 #8844F1 #AC7DF5 #D0B6F9 #EDE3FD

Accessibility & contrast

On white

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

On black

7.01
#AC7DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7DF5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DF5#FFFFFF#000000##000000
##AC7DF51.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595F9
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#9D93AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7df5;
/* rgb */ color: rgb(172, 125, 245);
/* oklch */ color: oklch(68.7% 0.175 299.9);
Tailwind
colors: {
  custom: {
    50: '#c8a3f9',
    500: '#ac7df5',
    950: '#000000',
  },
}
SCSS
$custom: #ac7df5;
$custom-light: #c8a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7df5",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 263.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68712,
    "c": 0.1746,
    "h": 299.9
  },
  "luminance": 0.3003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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