#AC7AF3#AC7AF3

#AC7AF3 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.1% C 0.177 H 300.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AC7AF3
RGBrgb(172, 122, 243)
HSLhsl(265, 83%, 72%)
HSVhsv(265, 50%, 95%)
CMYKcmyk(29.2%, 49.8%, 0%, 4.7%)
CIE-LABlab(60.92, 43.59, -53.87)
CIE-LCHlch(60.92, 69.30, 308.97°)
OKLaboklab(68.11% 0.0908 -0.1516)
OKLCHoklch(68.11% 0.177 300.9)
XYZxyz(40.1467, 29.1606, 88.2901)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AF3 #C1F37A
analogous
#7A85F3 #AC7AF3 #E87AF3
triadic
#AC7AF3 #F3AC7A #7AF3AC
tetradic
#AC7AF3 #F37A85 #C1F37A #7AF3E8
square
#AC7AF3 #F37A85 #C1F37A #7AF3E8
split-complementary
#AC7AF3 #F3E87A #85F37A
monochromatic
#6814DF #8942EE #AC7AF3 #CFB2F8 #EDE3FC

Accessibility & contrast

On white

3.07
#AC7AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AC7AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AF3
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AF3#FFFFFF#000000##000000
##AC7AF31.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F7
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#9E91AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac7af3;
/* rgb */ color: rgb(172, 122, 243);
/* oklch */ color: oklch(68.1% 0.177 300.9);
Tailwind
colors: {
  custom: {
    50: '#c8a1f7',
    500: '#ac7af3',
    950: '#000000',
  },
}
SCSS
$custom: #ac7af3;
$custom-light: #c8a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7af3",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 264.793,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.17671,
    "h": 300.9
  },
  "luminance": 0.29161
}

Semantic roles & 50–950 ramp

primary
#AC7AF3
secondary
#E7F4D5
accent
#E00686
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AC7AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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