#AC5CC2#AC5CC2

#AC5CC2 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.8% C 0.168 H 318.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AC5CC2
RGBrgb(172, 92, 194)
HSLhsl(287, 46%, 56%)
HSVhsv(287, 53%, 76%)
CMYKcmyk(11.3%, 52.6%, 0%, 23.9%)
CIE-LABlab(52.20, 48.64, -40.08)
CIE-LCHlch(52.20, 63.03, 320.51°)
OKLaboklab(60.83% 0.1263 -0.1113)
OKLCHoklch(60.83% 0.168 318.6)
XYZxyz(30.5767, 20.3211, 53.3402)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CC2 #72C25C
analogous
#795CC2 #AC5CC2 #C25CA5
triadic
#AC5CC2 #C2AC5C #5CC2AC
tetradic
#AC5CC2 #C2795C #72C25C #5CA5C2
square
#AC5CC2 #C2795C #72C25C #5CA5C2
split-complementary
#AC5CC2 #A5C25C #5CC279
monochromatic
#672D77 #8E3DA4 #AC5CC2 #C389D3 #D9B5E3

Accessibility & contrast

On white

4.15
#AC5CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AC5CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CC2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CC2#FFFFFF#000000##000000
##AC5CC21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#AC6B86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac5cc2;
/* rgb */ color: rgb(172, 92, 194);
/* oklch */ color: oklch(60.8% 0.168 318.6);
Tailwind
colors: {
  custom: {
    50: '#c78dd5',
    500: '#ac5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cc2;
$custom-light: #c78dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cc2",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 287.059,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60826,
    "c": 0.16839,
    "h": 318.6
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#AC5CC2
secondary
#B1D2A8
accent
#D5536F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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