#AC5CD5#AC5CD5

#AC5CD5 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.9% C 0.188 H 312.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AC5CD5
RGBrgb(172, 92, 213)
HSLhsl(280, 59%, 60%)
HSVhsv(280, 57%, 84%)
CMYKcmyk(19.2%, 56.8%, 0%, 16.5%)
CIE-LABlab(53.20, 52.61, -49.35)
CIE-LCHlch(53.20, 72.13, 316.83°)
OKLaboklab(61.89% 0.1277 -0.1383)
OKLCHoklch(61.89% 0.188 312.7)
XYZxyz(32.8486, 21.2299, 65.3053)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CD5 #85D55C
analogous
#6F5CD5 #AC5CD5 #D55CC2
triadic
#AC5CD5 #D5AC5C #5CD5AC
tetradic
#AC5CD5 #D56F5C #85D55C #5CC2D5
square
#AC5CD5 #D56F5C #85D55C #5CC2D5
split-complementary
#AC5CD5 #C2D55C #5CD56F
monochromatic
#6D2591 #9132C2 #AC5CD5 #C58DE2 #DEBDEE

Accessibility & contrast

On white

4.00
#AC5CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AC5CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CD5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CD5#FFFFFF#000000##000000
##AC5CD51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387BD9
Deuteranopia (green-blind)
#5681D2
Tritanopia (blue-blind)
#A87190
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5cd5;
/* rgb */ color: rgb(172, 92, 213);
/* oklch */ color: oklch(61.9% 0.188 312.7);
Tailwind
colors: {
  custom: {
    50: '#c88ee2',
    500: '#ac5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cd5;
$custom-light: #c88ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cd5",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 279.669,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.18825,
    "h": 312.7
  },
  "luminance": 0.21229
}

Semantic roles & 50–950 ramp

primary
#AC5CD5
secondary
#BFDEAF
accent
#E2467B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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