#AC7CFE#AC7CFE

#AC7CFE is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.187 H 298.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AC7CFE
RGBrgb(172, 124, 254)
HSLhsl(262, 98%, 74%)
HSVhsv(262, 51%, 100%)
CMYKcmyk(32.3%, 51.2%, 0%, 0.4%)
CIE-LABlab(61.95, 45.18, -58.30)
CIE-LCHlch(61.95, 73.76, 307.77°)
OKLaboklab(69.07% 0.0891 -0.1646)
OKLCHoklch(69.07% 0.187 298.4)
XYZxyz(42.1060, 30.3413, 97.3848)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7CFE #CEFE7C
analogous
#7C8DFE #AC7CFE #ED7CFE
triadic
#AC7CFE #FEAC7C #7CFEAC
tetradic
#AC7CFE #FE7C8D #CEFE7C #7CFEED
square
#AC7CFE #FE7C8D #CEFE7C #7CFEED
split-complementary
#AC7CFE #FEED7C #8DFE7C
monochromatic
#5F03FD #863FFE #AC7CFE #D2B9FE #ECE1FF

Accessibility & contrast

On white

2.97
#AC7CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AC7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC7CFE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7CFE#FFFFFF#000000##000000
##AC7CFE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#5994FB
Tritanopia (blue-blind)
#9A95B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ac7cfe;
/* rgb */ color: rgb(172, 124, 254);
/* oklch */ color: oklch(69.1% 0.187 298.4);
Tailwind
colors: {
  custom: {
    50: '#c8a3ff',
    500: '#ac7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #ac7cfe;
$custom-light: #c8a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7cfe",
  "rgb": {
    "r": 172,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 262.154,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69067,
    "c": 0.18715,
    "h": 298.4
  },
  "luminance": 0.30342
}

Semantic roles & 50–950 ramp

primary
#AC7CFE
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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