#AC5CBC#AC5CBC

#AC5CBC is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.5% C 0.162 H 320.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AC5CBC
RGBrgb(172, 92, 188)
HSLhsl(290, 42%, 55%)
HSVhsv(290, 51%, 74%)
CMYKcmyk(8.5%, 51.1%, 0%, 26.3%)
CIE-LABlab(51.90, 47.44, -37.09)
CIE-LCHlch(51.90, 60.21, 321.98°)
OKLaboklab(60.51% 0.1256 -0.1027)
OKLCHoklch(60.51% 0.162 320.7)
XYZxyz(29.9164, 20.0570, 49.8627)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CBC #6CBC5C
analogous
#7C5CBC #AC5CBC #BC5C9C
triadic
#AC5CBC #BCAC5C #5CBCAC
tetradic
#AC5CBC #BC7C5C #6CBC5C #5C9CBC
square
#AC5CBC #BC7C5C #6CBC5C #5C9CBC
split-complementary
#AC5CBC #9CBC5C #5CBC7C
monochromatic
#652E70 #8C409B #AC5CBC #C287CE #D8B3E0

Accessibility & contrast

On white

4.19
#AC5CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AC5CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CBC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CBC#FFFFFF#000000##000000
##AC5CBC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BF
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#AD6983
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac5cbc;
/* rgb */ color: rgb(172, 92, 188);
/* oklch */ color: oklch(60.5% 0.162 320.7);
Tailwind
colors: {
  custom: {
    50: '#c78dd0',
    500: '#ac5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cbc;
$custom-light: #c78dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cbc",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 290,
    "s": 41.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.16225,
    "h": 320.7
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#AC5CBC
secondary
#ACCEA6
accent
#D2566B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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