#AC7DF2#AC7DF2

#AC7DF2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.171 H 300.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AC7DF2
RGBrgb(172, 125, 242)
HSLhsl(264, 82%, 72%)
HSVhsv(264, 48%, 95%)
CMYKcmyk(28.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(61.52, 41.69, -52.37)
CIE-LCHlch(61.52, 66.94, 308.53°)
OKLaboklab(68.54% 0.0868 -0.1472)
OKLCHoklch(68.54% 0.171 300.5)
XYZxyz(40.3702, 29.8485, 87.6217)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DF2 #C3F27D
analogous
#7D89F2 #AC7DF2 #E77DF2
triadic
#AC7DF2 #F2AC7D #7DF2AC
tetradic
#AC7DF2 #F27D89 #C3F27D #7DF2E7
square
#AC7DF2 #F27D89 #C3F27D #7DF2E7
split-complementary
#AC7DF2 #F2E77D #89F27D
monochromatic
#6716DE #8845EC #AC7DF2 #D0B5F8 #EDE3FC

Accessibility & contrast

On white

3.01
#AC7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#AC7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7DF2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DF2#FFFFFF#000000##000000
##AC7DF21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#9E92AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7df2;
/* rgb */ color: rgb(172, 125, 242);
/* oklch */ color: oklch(68.5% 0.171 300.5);
Tailwind
colors: {
  custom: {
    50: '#c7a3f7',
    500: '#ac7df2',
    950: '#000000',
  },
}
SCSS
$custom: #ac7df2;
$custom-light: #c7a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7df2",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 264.103,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68544,
    "c": 0.1709,
    "h": 300.5
  },
  "luminance": 0.29849
}

Semantic roles & 50–950 ramp

primary
#AC7DF2
secondary
#E8F4D7
accent
#DE0788
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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