#AC40C0#AC40C0

#AC40C0 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.207 H 321.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC40C0
RGBrgb(172, 64, 192)
HSLhsl(291, 50%, 50%)
HSVhsv(291, 67%, 75%)
CMYKcmyk(10.4%, 66.7%, 0%, 24.7%)
CIE-LABlab(47.29, 61.29, -46.70)
CIE-LCHlch(47.29, 77.06, 322.70°)
OKLaboklab(57.22% 0.1612 -0.1304)
OKLCHoklch(57.22% 0.207 321)
XYZxyz(28.3600, 16.2447, 51.5007)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC40C0 #54C040
analogous
#6C40C0 #AC40C0 #C04094
triadic
#AC40C0 #C0AC40 #40C0AC
tetradic
#AC40C0 #C06C40 #54C040 #4094C0
square
#AC40C0 #C06C40 #54C040 #4094C0
split-complementary
#AC40C0 #94C040 #40C06C
monochromatic
#5A2164 #833092 #AC40C0 #C06ECF #D49CDE

Accessibility & contrast

On white

4.94
#AC40C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AC40C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC40C0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC40C0#FFFFFF#000000##FFFFFF
##AC40C01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C4
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#AD567B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac40c0;
/* rgb */ color: rgb(172, 64, 192);
/* oklch */ color: oklch(57.2% 0.207 321.0);
Tailwind
colors: {
  custom: {
    50: '#c87dd3',
    500: '#ac40c0',
    950: '#000000',
  },
}
SCSS
$custom: #ac40c0;
$custom-light: #c87dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac40c0",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 290.625,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57219,
    "c": 0.20733,
    "h": 321
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#AC40C0
secondary
#9ACB91
accent
#DA4E64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AC40C0

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

Preview Lab → · Contrast checker → · Palette generator →

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