#AC7AFC#AC7AFC

#AC7AFC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.188 H 299.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AC7AFC
RGBrgb(172, 122, 252)
HSLhsl(263, 96%, 73%)
HSVhsv(263, 52%, 99%)
CMYKcmyk(31.7%, 51.6%, 0%, 1.2%)
CIE-LABlab(61.41, 45.78, -58.06)
CIE-LCHlch(61.41, 73.94, 308.25°)
OKLaboklab(68.63% 0.0914 -0.1639)
OKLCHoklch(68.63% 0.188 299.2)
XYZxyz(41.5393, 29.7176, 95.6242)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AFC #CAFC7A
analogous
#7A89FC #AC7AFC #ED7AFC
triadic
#AC7AFC #FCAC7A #7AFCAC
tetradic
#AC7AFC #FC7A89 #CAFC7A #7AFCED
square
#AC7AFC #FC7A89 #CAFC7A #7AFCED
split-complementary
#AC7AFC #FCED7A #89FC7A
monochromatic
#6206F6 #873EFB #AC7AFC #D1B6FD #ECE1FE

Accessibility & contrast

On white

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

On black

6.94
#AC7AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AFC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AFC#FFFFFF#000000##000000
##AC7AFC1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5893F9
Tritanopia (blue-blind)
#9B93B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac7afc;
/* rgb */ color: rgb(172, 122, 252);
/* oklch */ color: oklch(68.6% 0.188 299.2);
Tailwind
colors: {
  custom: {
    50: '#c8a2fe',
    500: '#ac7afc',
    950: '#000000',
  },
}
SCSS
$custom: #ac7afc;
$custom-light: #c8a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7afc",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 263.077,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68633,
    "c": 0.18767,
    "h": 299.2
  },
  "luminance": 0.29718
}

Semantic roles & 50–950 ramp

primary
#AC7AFC
secondary
#E9F7D4
accent
#E6008D
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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