#AC7DF1#AC7DF1

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

Color values

HEX#AC7DF1
RGBrgb(172, 125, 241)
HSLhsl(264, 81%, 72%)
HSVhsv(264, 48%, 95%)
CMYKcmyk(28.6%, 48.1%, 0%, 5.5%)
CIE-LABlab(61.47, 41.45, -51.90)
CIE-LCHlch(61.47, 66.42, 308.62°)
OKLaboklab(68.49% 0.0867 -0.1459)
OKLCHoklch(68.49% 0.17 300.7)
XYZxyz(40.2204, 29.7886, 86.8329)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7DF1 #C2F17D
analogous
#7D88F1 #AC7DF1 #E67DF1
triadic
#AC7DF1 #F1AC7D #7DF1AC
tetradic
#AC7DF1 #F17D88 #C2F17D #7DF1E6
square
#AC7DF1 #F17D88 #C2F17D #7DF1E6
split-complementary
#AC7DF1 #F1E67D #88F17D
monochromatic
#6718DC #8946EB #AC7DF1 #CFB4F7 #EDE3FC

Accessibility & contrast

On white

3.02
#AC7DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AC7DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7DF1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7DF1#FFFFFF#000000##000000
##AC7DF11.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F5
Deuteranopia (green-blind)
#6494EE
Tritanopia (blue-blind)
#9F92AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac7df1;
/* rgb */ color: rgb(172, 125, 241);
/* oklch */ color: oklch(68.5% 0.170 300.7);
Tailwind
colors: {
  custom: {
    50: '#c7a3f6',
    500: '#ac7df1',
    950: '#000000',
  },
}
SCSS
$custom: #ac7df1;
$custom-light: #c7a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7df1",
  "rgb": {
    "r": 172,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 264.31,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68488,
    "c": 0.16966,
    "h": 300.7
  },
  "luminance": 0.29789
}

Semantic roles & 50–950 ramp

primary
#AC7DF1
secondary
#E8F4D6
accent
#DD0987
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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