#AC7FAC#AC7FAC

#AC7FAC is a light, moderate purple. Relative luminance 0.269; OKLCH L 65.6% C 0.083 H 326.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AC7FAC
RGBrgb(172, 127, 172)
HSLhsl(300, 21%, 59%)
HSVhsv(300, 26%, 67%)
CMYKcmyk(0%, 26.2%, 0%, 32.5%)
CIE-LABlab(58.91, 25.13, -17.05)
CIE-LCHlch(58.91, 30.37, 325.85°)
OKLaboklab(65.56% 0.0694 -0.046)
OKLCHoklch(65.56% 0.083 326.5)
XYZxyz(32.0483, 26.9289, 42.5313)
Luminance0.2693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7FAC #7FAC7F
analogous
#957FAC #AC7FAC #AC7F95
triadic
#AC7FAC #ACAC7F #7FACAC
tetradic
#AC7FAC #AC957F #7FAC7F #7F95AC
square
#AC7FAC #AC957F #7FAC7F #7F95AC
split-complementary
#AC7FAC #95AC7F #7FAC95
monochromatic
#6B456B #905E90 #AC7FAC #C4A4C4 #DCC9DC

Accessibility & contrast

On white

3.29
#AC7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AC7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7FAC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7FAC#FFFFFF#000000##000000
##AC7FAC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAE
Deuteranopia (green-blind)
#8690AA
Tritanopia (blue-blind)
#AF838F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac7fac;
/* rgb */ color: rgb(172, 127, 172);
/* oklch */ color: oklch(65.6% 0.083 326.5);
Tailwind
colors: {
  custom: {
    50: '#c5a4c4',
    500: '#ac7fac',
    950: '#000000',
  },
}
SCSS
$custom: #ac7fac;
$custom-light: #c5a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7fac",
  "rgb": {
    "r": 172,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 21.327,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65562,
    "c": 0.08327,
    "h": 326.5
  },
  "luminance": 0.26928
}

Semantic roles & 50–950 ramp

primary
#AC7FAC
secondary
#BBCCBB
accent
#BE6A6A
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#130F12
muted
#827F81

Preview Lab

Preview with #AC7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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