#AC5CDC#AC5CDC

#AC5CDC is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.3% C 0.196 H 310.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AC5CDC
RGBrgb(172, 92, 220)
HSLhsl(278, 65%, 61%)
HSVhsv(278, 58%, 86%)
CMYKcmyk(21.8%, 58.2%, 0%, 13.7%)
CIE-LABlab(53.59, 54.12, -52.70)
CIE-LCHlch(53.59, 75.54, 315.76°)
OKLaboklab(62.3% 0.1279 -0.1481)
OKLCHoklch(62.3% 0.196 310.8)
XYZxyz(33.7563, 21.5930, 70.0859)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CDC #8CDC5C
analogous
#6C5CDC #AC5CDC #DC5CCC
triadic
#AC5CDC #DCAC5C #5CDCAC
tetradic
#AC5CDC #DC6C5C #8CDC5C #5CCCDC
square
#AC5CDC #DC6C5C #8CDC5C #5CCCDC
split-complementary
#AC5CDC #CCDC5C #5CDC6C
monochromatic
#6E229C #922CCE #AC5CDC #C68EE7 #DFC1F2

Accessibility & contrast

On white

3.95
#AC5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AC5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CDC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CDC#FFFFFF#000000##000000
##AC5CDC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#5082D9
Tritanopia (blue-blind)
#A67393
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac5cdc;
/* rgb */ color: rgb(172, 92, 220);
/* oklch */ color: oklch(62.3% 0.196 310.8);
Tailwind
colors: {
  custom: {
    50: '#c88ee7',
    500: '#ac5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cdc;
$custom-light: #c88ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cdc",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 277.5,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.19568,
    "h": 310.8
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#AC5CDC
secondary
#C4E2B2
accent
#CC195C
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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