#AC5FBC#AC5FBC

#AC5FBC is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.157 H 320.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AC5FBC
RGBrgb(172, 95, 188)
HSLhsl(290, 41%, 55%)
HSVhsv(290, 49%, 74%)
CMYKcmyk(8.5%, 49.5%, 0%, 26.3%)
CIE-LABlab(52.49, 45.88, -36.16)
CIE-LCHlch(52.49, 58.42, 321.76°)
OKLaboklab(60.95% 0.1214 -0.1)
OKLCHoklch(60.95% 0.157 320.5)
XYZxyz(30.1815, 20.5871, 49.9511)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FBC #6FBC5F
analogous
#7D5FBC #AC5FBC #BC5F9E
triadic
#AC5FBC #BCAC5F #5FBCAC
tetradic
#AC5FBC #BC7D5F #6FBC5F #5F9EBC
square
#AC5FBC #BC7D5F #6FBC5F #5F9EBC
split-complementary
#AC5FBC #9EBC5F #5FBC7D
monochromatic
#662F71 #8D419C #AC5FBC #C28ACE #D9B5E0

Accessibility & contrast

On white

4.10
#AC5FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AC5FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FBC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FBC#FFFFFF#000000##000000
##AC5FBC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#AD6B85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac5fbc;
/* rgb */ color: rgb(172, 95, 188);
/* oklch */ color: oklch(60.9% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#c78fd0',
    500: '#ac5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fbc;
$custom-light: #c78fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fbc",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 289.677,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.1573,
    "h": 320.5
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#AC5FBC
secondary
#AFCFA8
accent
#D1576C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AC5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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