#AC5FC3#AC5FC3

#AC5FC3 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.3% C 0.165 H 318.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AC5FC3
RGBrgb(172, 95, 195)
HSLhsl(286, 45%, 57%)
HSVhsv(286, 51%, 76%)
CMYKcmyk(11.8%, 51.3%, 0%, 23.5%)
CIE-LABlab(52.84, 47.30, -39.65)
CIE-LCHlch(52.84, 61.72, 320.03°)
OKLaboklab(61.31% 0.1223 -0.1101)
OKLCHoklch(61.31% 0.165 318)
XYZxyz(30.9544, 20.8963, 54.0220)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FC3 #76C35F
analogous
#7A5FC3 #AC5FC3 #C35FA8
triadic
#AC5FC3 #C3AC5F #5FC3AC
tetradic
#AC5FC3 #C37A5F #76C35F #5FA8C3
square
#AC5FC3 #C37A5F #76C35F #5FA8C3
split-complementary
#AC5FC3 #A8C35F #5FC37A
monochromatic
#682E7A #8E3EA6 #AC5FC3 #C38CD4 #DAB8E4

Accessibility & contrast

On white

4.05
#AC5FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AC5FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FC3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FC3#FFFFFF#000000##000000
##AC5FC31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C6
Deuteranopia (green-blind)
#6381C0
Tritanopia (blue-blind)
#AC6E88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5fc3;
/* rgb */ color: rgb(172, 95, 195);
/* oklch */ color: oklch(61.3% 0.165 318.0);
Tailwind
colors: {
  custom: {
    50: '#c78fd5',
    500: '#ac5fc3',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fc3;
$custom-light: #c78fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fc3",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 286.2,
    "s": 45.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61313,
    "c": 0.16457,
    "h": 318
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#AC5FC3
secondary
#B4D3AB
accent
#D55371
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AC5FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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