#AC7AFA#AC7AFA

#AC7AFA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.5% C 0.185 H 299.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AC7AFA
RGBrgb(172, 122, 250)
HSLhsl(263, 93%, 73%)
HSVhsv(263, 51%, 98%)
CMYKcmyk(31.2%, 51.2%, 0%, 2%)
CIE-LABlab(61.30, 45.29, -57.14)
CIE-LCHlch(61.30, 72.91, 308.40°)
OKLaboklab(68.52% 0.0913 -0.1612)
OKLCHoklch(68.52% 0.185 299.5)
XYZxyz(41.2240, 29.5915, 93.9638)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AFA #C8FA7A
analogous
#7A88FA #AC7AFA #EC7AFA
triadic
#AC7AFA #FAAC7A #7AFAAC
tetradic
#AC7AFA #FA7A88 #C8FA7A #7AFAEC
square
#AC7AFA #FA7A88 #C8FA7A #7AFAEC
split-complementary
#AC7AFA #FAEC7A #88FA7A
monochromatic
#6309F1 #873FF8 #AC7AFA #D1B5FC #EDE2FE

Accessibility & contrast

On white

3.04
#AC7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AC7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AFA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AFA#FFFFFF#000000##000000
##AC7AFA1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#5A93F7
Tritanopia (blue-blind)
#9C93AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ac7afa;
/* rgb */ color: rgb(172, 122, 250);
/* oklch */ color: oklch(68.5% 0.185 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8a2fc',
    500: '#ac7afa',
    950: '#000000',
  },
}
SCSS
$custom: #ac7afa;
$custom-light: #c8a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7afa",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 263.438,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68516,
    "c": 0.18524,
    "h": 299.5
  },
  "luminance": 0.29592
}

Semantic roles & 50–950 ramp

primary
#AC7AFA
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AC7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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