#AC5CD9#AC5CD9

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

Color values

HEX#AC5CD9
RGBrgb(172, 92, 217)
HSLhsl(278, 62%, 61%)
HSVhsv(278, 58%, 85%)
CMYKcmyk(20.7%, 57.6%, 0%, 14.9%)
CIE-LABlab(53.42, 53.47, -51.27)
CIE-LCHlch(53.42, 74.08, 316.20°)
OKLaboklab(62.12% 0.1278 -0.1439)
OKLCHoklch(62.12% 0.192 311.6)
XYZxyz(33.3625, 21.4355, 68.0122)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CD9 #89D95C
analogous
#6D5CD9 #AC5CD9 #D95CC7
triadic
#AC5CD9 #D9AC5C #5CD9AC
tetradic
#AC5CD9 #D96D5C #89D95C #5CC7D9
square
#AC5CD9 #D96D5C #89D95C #5CC7D9
split-complementary
#AC5CD9 #C7D95C #5CD96D
monochromatic
#6E2397 #912FC9 #AC5CD9 #C58EE5 #DFBFF0

Accessibility & contrast

On white

3.97
#AC5CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AC5CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CD9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CD9#FFFFFF#000000##000000
##AC5CD91.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDD
Deuteranopia (green-blind)
#5381D6
Tritanopia (blue-blind)
#A77292
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac5cd9;
/* rgb */ color: rgb(172, 92, 217);
/* oklch */ color: oklch(62.1% 0.192 311.6);
Tailwind
colors: {
  custom: {
    50: '#c88ee5',
    500: '#ac5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cd9;
$custom-light: #c88ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cd9",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 278.4,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62122,
    "c": 0.19249,
    "h": 311.6
  },
  "luminance": 0.21435
}

Semantic roles & 50–950 ramp

primary
#AC5CD9
secondary
#C2E0B1
accent
#CA1C5A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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