#AC7CF7#AC7CF7

#AC7CF7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.179 H 299.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AC7CF7
RGBrgb(172, 124, 247)
HSLhsl(263, 88%, 73%)
HSVhsv(263, 50%, 97%)
CMYKcmyk(30.4%, 49.8%, 0%, 3.1%)
CIE-LABlab(61.57, 43.46, -55.06)
CIE-LCHlch(61.57, 70.14, 308.29°)
OKLaboklab(68.66% 0.0885 -0.1551)
OKLCHoklch(68.66% 0.179 299.7)
XYZxyz(41.0054, 29.9011, 91.5888)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7CF7 #C7F77C
analogous
#7C89F7 #AC7CF7 #EA7CF7
triadic
#AC7CF7 #F7AC7C #7CF7AC
tetradic
#AC7CF7 #F77C89 #C7F77C #7CF7EA
square
#AC7CF7 #F77C89 #C7F77C #7CF7EA
split-complementary
#AC7CF7 #F7EA7C #89F77C
monochromatic
#640EEA #8742F3 #AC7CF7 #D1B6FB #EDE2FD

Accessibility & contrast

On white

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

On black

6.98
#AC7CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7CF7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7CF7#FFFFFF#000000##000000
##AC7CF71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#9D93AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ac7cf7;
/* rgb */ color: rgb(172, 124, 247);
/* oklch */ color: oklch(68.7% 0.179 299.7);
Tailwind
colors: {
  custom: {
    50: '#c8a3fa',
    500: '#ac7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ac7cf7;
$custom-light: #c8a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7cf7",
  "rgb": {
    "r": 172,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 263.415,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68663,
    "c": 0.17857,
    "h": 299.7
  },
  "luminance": 0.29901
}

Semantic roles & 50–950 ramp

primary
#AC7CF7
secondary
#E9F5D6
accent
#E5008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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