#AC5BC7#AC5BC7

#AC5BC7 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.0% C 0.175 H 317.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AC5BC7
RGBrgb(172, 91, 199)
HSLhsl(285, 49%, 57%)
HSVhsv(285, 54%, 78%)
CMYKcmyk(13.6%, 54.3%, 0%, 22%)
CIE-LABlab(52.26, 50.17, -42.85)
CIE-LCHlch(52.26, 65.98, 319.50°)
OKLaboklab(60.96% 0.1281 -0.1194)
OKLCHoklch(60.96% 0.175 317)
XYZxyz(31.0617, 20.3774, 56.3188)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BC7 #76C75B
analogous
#765BC7 #AC5BC7 #C75BAC
triadic
#AC5BC7 #C7AC5B #5BC7AC
tetradic
#AC5BC7 #C7765B #76C75B #5BACC7
square
#AC5BC7 #C7765B #76C75B #5BACC7
split-complementary
#AC5BC7 #ACC75B #5BC776
monochromatic
#682B7D #8E3AAB #AC5BC7 #C389D7 #DAB6E6

Accessibility & contrast

On white

4.14
#AC5BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AC5BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BC7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BC7#FFFFFF#000000##000000
##AC5BC71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CB
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#AB6C88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac5bc7;
/* rgb */ color: rgb(172, 91, 199);
/* oklch */ color: oklch(61.0% 0.175 317.0);
Tailwind
colors: {
  custom: {
    50: '#c78dd8',
    500: '#ac5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bc7;
$custom-light: #c78dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bc7",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 285,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.17513,
    "h": 317
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#AC5BC7
secondary
#B4D5A9
accent
#D94F72
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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