#AC5ACC#AC5ACC

#AC5ACC is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.1% C 0.182 H 315.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AC5ACC
RGBrgb(172, 90, 204)
HSLhsl(283, 53%, 58%)
HSVhsv(283, 56%, 80%)
CMYKcmyk(15.7%, 55.9%, 0%, 20%)
CIE-LABlab(52.34, 51.71, -45.60)
CIE-LCHlch(52.34, 68.94, 318.59°)
OKLaboklab(61.1% 0.1298 -0.1274)
OKLCHoklch(61.1% 0.182 315.6)
XYZxyz(31.5668, 20.4436, 59.3982)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5ACC #7ACC5A
analogous
#735ACC #AC5ACC #CC5AB3
triadic
#AC5ACC #CCAC5A #5ACCAC
tetradic
#AC5ACC #CC735A #7ACC5A #5AB3CC
square
#AC5ACC #CC735A #7ACC5A #5AB3CC
split-complementary
#AC5ACC #B3CC5A #5ACC73
monochromatic
#6A2983 #8F37B2 #AC5ACC #C489DA #DBB7E9

Accessibility & contrast

On white

4.13
#AC5ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AC5ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5ACC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5ACC#FFFFFF#000000##000000
##AC5ACC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#AA6D8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac5acc;
/* rgb */ color: rgb(172, 90, 204);
/* oklch */ color: oklch(61.1% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#c78cdc',
    500: '#ac5acc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5acc;
$custom-light: #c78cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5acc",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 283.158,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61095,
    "c": 0.18187,
    "h": 315.6
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#AC5ACC
secondary
#B7D8AA
accent
#DC4C74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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