#AC5DCF#AC5DCF

#AC5DCF is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.7% C 0.180 H 314.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AC5DCF
RGBrgb(172, 93, 207)
HSLhsl(282, 54%, 59%)
HSVhsv(282, 55%, 81%)
CMYKcmyk(16.9%, 55.1%, 0%, 18.8%)
CIE-LABlab(53.06, 50.82, -46.16)
CIE-LCHlch(53.06, 68.65, 317.76°)
OKLaboklab(61.68% 0.1261 -0.129)
OKLCHoklch(61.68% 0.18 314.3)
XYZxyz(32.1883, 21.1053, 61.3975)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DCF #80CF5D
analogous
#735DCF #AC5DCF #CF5DB9
triadic
#AC5DCF #CFAC5D #5DCFAC
tetradic
#AC5DCF #CF735D #80CF5D #5DB9CF
square
#AC5DCF #CF735D #80CF5D #5DB9CF
split-complementary
#AC5DCF #B9CF5D #5DCF73
monochromatic
#6B2989 #9037B8 #AC5DCF #C48CDD #DCBBEB

Accessibility & contrast

On white

4.02
#AC5DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AC5DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DCF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DCF#FFFFFF#000000##000000
##AC5DCF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#A9708D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5dcf;
/* rgb */ color: rgb(172, 93, 207);
/* oklch */ color: oklch(61.7% 0.180 314.3);
Tailwind
colors: {
  custom: {
    50: '#c78ede',
    500: '#ac5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #ac5dcf;
$custom-light: #c78ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5dcf",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 281.579,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61682,
    "c": 0.18039,
    "h": 314.3
  },
  "luminance": 0.21104
}

Semantic roles & 50–950 ramp

primary
#AC5DCF
secondary
#BBDAAD
accent
#DE4A77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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