#AC7AAA#AC7AAA

#AC7AAA is a light, moderate purple. Relative luminance 0.256; OKLCH L 64.6% C 0.090 H 327.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AC7AAA
RGBrgb(172, 122, 170)
HSLhsl(302, 23%, 58%)
HSVhsv(302, 29%, 67%)
CMYKcmyk(0%, 29.1%, 1.2%, 32.5%)
CIE-LABlab(57.65, 27.56, -17.81)
CIE-LCHlch(57.65, 32.82, 327.12°)
OKLaboklab(64.58% 0.0767 -0.0481)
OKLCHoklch(64.58% 0.091 327.9)
XYZxyz(31.2278, 25.5931, 41.3174)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7AAA #7AAC7C
analogous
#957AAC #AC7AAA #AC7A91
triadic
#AC7AAA #AAAC7A #7AAAAC
tetradic
#AC7AAA #AC957A #7AAC7C #7A91AC
square
#AC7AAA #AC957A #7AAC7C #7A91AC
split-complementary
#AC7AAA #91AC7A #7AAC95
monochromatic
#6A4268 #8F598D #AC7AAA #C4A0C2 #DBC5DA

Accessibility & contrast

On white

3.43
#AC7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#AC7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7AAA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7AAA#FFFFFF#000000##000000
##AC7AAA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AC
Deuteranopia (green-blind)
#838DA8
Tritanopia (blue-blind)
#AF7E8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac7aaa;
/* rgb */ color: rgb(172, 122, 170);
/* oklch */ color: oklch(64.6% 0.090 327.9);
Tailwind
colors: {
  custom: {
    50: '#c5a1c3',
    500: '#ac7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ac7aaa;
$custom-light: #c5a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7aaa",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 302.4,
    "s": 23.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.0905,
    "h": 327.9
  },
  "luminance": 0.25592
}

Semantic roles & 50–950 ramp

primary
#AC7AAA
secondary
#B7CBB8
accent
#C06C68
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130F12
muted
#827E81

Preview Lab

Preview with #AC7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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