#AC5BCE#AC5BCE

#AC5BCE is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.3% C 0.182 H 314.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AC5BCE
RGBrgb(172, 91, 206)
HSLhsl(282, 54%, 58%)
HSVhsv(282, 56%, 81%)
CMYKcmyk(16.5%, 55.8%, 0%, 19.2%)
CIE-LABlab(52.63, 51.63, -46.27)
CIE-LCHlch(52.63, 69.33, 318.13°)
OKLaboklab(61.35% 0.1286 -0.1293)
OKLCHoklch(61.35% 0.182 314.8)
XYZxyz(31.8931, 20.7100, 60.6979)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BCE #7DCE5B
analogous
#725BCE #AC5BCE #CE5BB6
triadic
#AC5BCE #CEAC5B #5BCEAC
tetradic
#AC5BCE #CE725B #7DCE5B #5BB6CE
square
#AC5BCE #CE725B #7DCE5B #5BB6CE
split-complementary
#AC5BCE #B6CE5B #5BCE72
monochromatic
#6B2886 #9036B6 #AC5BCE #C48ADC #DCB9EA

Accessibility & contrast

On white

4.08
#AC5BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AC5BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BCE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BCE#FFFFFF#000000##000000
##AC5BCE1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D2
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#AA6E8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5bce;
/* rgb */ color: rgb(172, 91, 206);
/* oklch */ color: oklch(61.3% 0.182 314.8);
Tailwind
colors: {
  custom: {
    50: '#c78ddd',
    500: '#ac5bce',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bce;
$custom-light: #c78ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bce",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 282.261,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.18241,
    "h": 314.8
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#AC5BCE
secondary
#B9D9AB
accent
#DD4A76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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