#AC5CD8#AC5CD8

#AC5CD8 is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.1% C 0.191 H 311.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AC5CD8
RGBrgb(172, 92, 216)
HSLhsl(279, 61%, 60%)
HSVhsv(279, 57%, 85%)
CMYKcmyk(20.4%, 57.4%, 0%, 15.3%)
CIE-LABlab(53.37, 53.25, -50.79)
CIE-LCHlch(53.37, 73.59, 316.35°)
OKLaboklab(62.06% 0.1278 -0.1425)
OKLCHoklch(62.06% 0.191 311.9)
XYZxyz(33.2329, 21.3836, 67.3292)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CD8 #88D85C
analogous
#6E5CD8 #AC5CD8 #D85CC6
triadic
#AC5CD8 #D8AC5C #5CD8AC
tetradic
#AC5CD8 #D86E5C #88D85C #5CC6D8
square
#AC5CD8 #D86E5C #88D85C #5CC6D8
split-complementary
#AC5CD8 #C6D85C #5CD86E
monochromatic
#6D2496 #9130C7 #AC5CD8 #C58DE4 #DEBFF0

Accessibility & contrast

On white

3.98
#AC5CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AC5CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CD8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CD8#FFFFFF#000000##000000
##AC5CD81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#347BDC
Deuteranopia (green-blind)
#5381D5
Tritanopia (blue-blind)
#A77291
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5cd8;
/* rgb */ color: rgb(172, 92, 216);
/* oklch */ color: oklch(62.1% 0.191 311.9);
Tailwind
colors: {
  custom: {
    50: '#c88ee5',
    500: '#ac5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cd8;
$custom-light: #c88ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cd8",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 278.71,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62063,
    "c": 0.19144,
    "h": 311.9
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#AC5CD8
secondary
#C1E0B0
accent
#C91C5A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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