#AC4DC7#AC4DC7

#AC4DC7 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.196 H 318.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AC4DC7
RGBrgb(172, 77, 199)
HSLhsl(287, 52%, 54%)
HSVhsv(287, 61%, 78%)
CMYKcmyk(13.6%, 61.3%, 0%, 22%)
CIE-LABlab(49.74, 56.97, -46.85)
CIE-LCHlch(49.74, 73.76, 320.56°)
OKLaboklab(59.11% 0.1461 -0.1309)
OKLCHoklch(59.11% 0.196 318.1)
XYZxyz(29.9745, 18.2032, 55.9564)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4DC7 #68C74D
analogous
#6F4DC7 #AC4DC7 #C74DA5
triadic
#AC4DC7 #C7AC4D #4DC7AC
tetradic
#AC4DC7 #C76F4D #68C74D #4DA5C7
square
#AC4DC7 #C76F4D #68C74D #4DA5C7
split-complementary
#AC4DC7 #A5C74D #4DC76F
monochromatic
#632575 #8B33A3 #AC4DC7 #C27CD6 #D7AAE4

Accessibility & contrast

On white

4.53
#AC4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AC4DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC4DC7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4DC7#FFFFFF#000000##000000
##AC4DC71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#AC6283
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ac4dc7;
/* rgb */ color: rgb(172, 77, 199);
/* oklch */ color: oklch(59.1% 0.196 318.1);
Tailwind
colors: {
  custom: {
    50: '#c884d8',
    500: '#ac4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #ac4dc7;
$custom-light: #c884d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4dc7",
  "rgb": {
    "r": 172,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 286.721,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.19617,
    "h": 318.1
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#AC4DC7
secondary
#A9D29E
accent
#DC4C6C
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AC4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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