#AC5CCC#AC5CCC

#AC5CCC is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.4% C 0.179 H 315.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AC5CCC
RGBrgb(172, 92, 204)
HSLhsl(283, 52%, 58%)
HSVhsv(283, 55%, 80%)
CMYKcmyk(15.7%, 54.9%, 0%, 20%)
CIE-LABlab(52.71, 50.70, -45.00)
CIE-LCHlch(52.71, 67.79, 318.41°)
OKLaboklab(61.37% 0.1272 -0.1256)
OKLCHoklch(61.37% 0.179 315.4)
XYZxyz(31.7378, 20.7856, 59.4552)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CCC #7CCC5C
analogous
#745CCC #AC5CCC #CC5CB4
triadic
#AC5CCC #CCAC5C #5CCCAC
tetradic
#AC5CCC #CC745C #7CCC5C #5CB4CC
square
#AC5CCC #CC745C #7CCC5C #5CB4CC
split-complementary
#AC5CCC #B4CC5C #5CCC74
monochromatic
#6A2984 #9038B3 #AC5CCC #C48BDB #DBB9E9

Accessibility & contrast

On white

4.07
#AC5CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AC5CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CCC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CCC#FFFFFF#000000##000000
##AC5CCC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#AA6E8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5ccc;
/* rgb */ color: rgb(172, 92, 204);
/* oklch */ color: oklch(61.4% 0.179 315.4);
Tailwind
colors: {
  custom: {
    50: '#c78ddc',
    500: '#ac5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ccc;
$custom-light: #c78ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ccc",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 282.857,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.17877,
    "h": 315.4
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

primary
#AC5CCC
secondary
#B8D8AC
accent
#DC4C75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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