#AC5CD6#AC5CD6

#AC5CD6 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.9% C 0.189 H 312.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AC5CD6
RGBrgb(172, 92, 214)
HSLhsl(279, 60%, 60%)
HSVhsv(279, 57%, 84%)
CMYKcmyk(19.6%, 57%, 0%, 16.1%)
CIE-LABlab(53.26, 52.82, -49.83)
CIE-LCHlch(53.26, 72.62, 316.67°)
OKLaboklab(61.95% 0.1277 -0.1397)
OKLCHoklch(61.95% 0.189 312.4)
XYZxyz(32.9759, 21.2808, 65.9758)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CD6 #86D65C
analogous
#6F5CD6 #AC5CD6 #D65CC3
triadic
#AC5CD6 #D6AC5C #5CD6AC
tetradic
#AC5CD6 #D66F5C #86D65C #5CC3D6
square
#AC5CD6 #D66F5C #86D65C #5CC3D6
split-complementary
#AC5CD6 #C3D65C #5CD66F
monochromatic
#6D2593 #9131C4 #AC5CD6 #C58DE2 #DEBEEF

Accessibility & contrast

On white

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

On black

5.26
#AC5CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CD6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CD6#FFFFFF#000000##000000
##AC5CD61.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377BDA
Deuteranopia (green-blind)
#5581D3
Tritanopia (blue-blind)
#A87190
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5cd6;
/* rgb */ color: rgb(172, 92, 214);
/* oklch */ color: oklch(61.9% 0.189 312.4);
Tailwind
colors: {
  custom: {
    50: '#c88ee3',
    500: '#ac5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cd6;
$custom-light: #c88ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cd6",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 279.344,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.18931,
    "h": 312.4
  },
  "luminance": 0.2128
}

Semantic roles & 50–950 ramp

primary
#AC5CD6
secondary
#C0DEAF
accent
#E3457B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #AC5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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