#AC5CCE#AC5CCE

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

Color values

HEX#AC5CCE
RGBrgb(172, 92, 206)
HSLhsl(282, 54%, 58%)
HSVhsv(282, 55%, 81%)
CMYKcmyk(16.5%, 55.3%, 0%, 19.2%)
CIE-LABlab(52.82, 51.12, -45.97)
CIE-LCHlch(52.82, 68.75, 318.04°)
OKLaboklab(61.49% 0.1273 -0.1285)
OKLCHoklch(61.49% 0.181 314.7)
XYZxyz(31.9792, 20.8821, 60.7266)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CCE #7ECE5C
analogous
#735CCE #AC5CCE #CE5CB7
triadic
#AC5CCE #CEAC5C #5CCEAC
tetradic
#AC5CCE #CE735C #7ECE5C #5CB7CE
square
#AC5CCE #CE735C #7ECE5C #5CB7CE
split-complementary
#AC5CCE #B7CE5C #5CCE73
monochromatic
#6B2987 #9037B6 #AC5CCE #C48BDC #DCBAEA

Accessibility & contrast

On white

4.06
#AC5CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC5CCE#FFFFFF#000000##000000
##AC5CCE1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D2
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#AA6F8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5cce;
/* rgb */ color: rgb(172, 92, 206);
/* oklch */ color: oklch(61.5% 0.181 314.7);
Tailwind
colors: {
  custom: {
    50: '#c78ddd',
    500: '#ac5cce',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cce;
$custom-light: #c78ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cce",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 282.105,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61486,
    "c": 0.18088,
    "h": 314.7
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#AC5CCE
secondary
#BADAAC
accent
#DD4B76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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