#AC7ABC#AC7ABC

#AC7ABC is a light, moderate purple. Relative luminance 0.263; OKLCH L 65.3% C 0.110 H 317.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC7ABC
RGBrgb(172, 122, 188)
HSLhsl(285, 33%, 61%)
HSVhsv(285, 35%, 74%)
CMYKcmyk(8.5%, 35.1%, 0%, 26.3%)
CIE-LABlab(58.34, 31.16, -27.05)
CIE-LCHlch(58.34, 41.26, 319.03°)
OKLaboklab(65.33% 0.0816 -0.0741)
OKLCHoklch(65.33% 0.11 317.8)
XYZxyz(33.0486, 26.3214, 50.9068)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC7ABC #8ABC7A
analogous
#8B7ABC #AC7ABC #BC7AAB
triadic
#AC7ABC #BCAC7A #7ABCAC
tetradic
#AC7ABC #BC8B7A #8ABC7A #7AABBC
square
#AC7ABC #BC8B7A #8ABC7A #7AABBC
split-complementary
#AC7ABC #ABBC7A #7ABC8B
monochromatic
#6E3F7D #9253A5 #AC7ABC #C5A3D1 #DFCBE5

Accessibility & contrast

On white

3.35
#AC7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AC7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC7ABC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC7ABC#FFFFFF#000000##000000
##AC7ABC1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BF
Deuteranopia (green-blind)
#7D8EBA
Tritanopia (blue-blind)
#AC8292
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac7abc;
/* rgb */ color: rgb(172, 122, 188);
/* oklch */ color: oklch(65.3% 0.110 317.8);
Tailwind
colors: {
  custom: {
    50: '#c5a1d0',
    500: '#ac7abc',
    950: '#000000',
  },
}
SCSS
$custom: #ac7abc;
$custom-light: #c5a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac7abc",
  "rgb": {
    "r": 172,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 285.455,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65331,
    "c": 0.11024,
    "h": 317.8
  },
  "luminance": 0.26321
}

Semantic roles & 50–950 ramp

primary
#AC7ABC
secondary
#C2D5BC
accent
#AC3A55
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AC7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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