#AC4CC7#AC4CC7

#AC4CC7 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.198 H 318.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AC4CC7
RGBrgb(172, 76, 199)
HSLhsl(287, 52%, 54%)
HSVhsv(287, 62%, 78%)
CMYKcmyk(13.6%, 61.8%, 0%, 22%)
CIE-LABlab(49.57, 57.43, -47.12)
CIE-LCHlch(49.57, 74.28, 320.63°)
OKLaboklab(58.99% 0.1473 -0.1317)
OKLCHoklch(58.99% 0.198 318.2)
XYZxyz(29.9051, 18.0643, 55.9333)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4CC7 #67C74C
analogous
#6F4CC7 #AC4CC7 #C74CA5
triadic
#AC4CC7 #C7AC4C #4CC7AC
tetradic
#AC4CC7 #C76F4C #67C74C #4CA5C7
square
#AC4CC7 #C76F4C #67C74C #4CA5C7
split-complementary
#AC4CC7 #A5C74C #4CC76F
monochromatic
#632474 #8A33A3 #AC4CC7 #C27BD6 #D7A9E4

Accessibility & contrast

On white

4.55
#AC4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AC4CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4CC7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4CC7#FFFFFF#000000##000000
##AC4CC71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2970CB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#AC6183
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac4cc7;
/* rgb */ color: rgb(172, 76, 199);
/* oklch */ color: oklch(59.0% 0.198 318.2);
Tailwind
colors: {
  custom: {
    50: '#c884d8',
    500: '#ac4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ac4cc7;
$custom-light: #c884d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4cc7",
  "rgb": {
    "r": 172,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 286.829,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.19758,
    "h": 318.2
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#AC4CC7
secondary
#A9D29D
accent
#DC4C6C
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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