#AC5CE4#AC5CE4

#AC5CE4 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.204 H 308.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AC5CE4
RGBrgb(172, 92, 228)
HSLhsl(275, 72%, 63%)
HSVhsv(275, 60%, 89%)
CMYKcmyk(24.6%, 59.6%, 0%, 10.6%)
CIE-LABlab(54.06, 55.88, -56.47)
CIE-LCHlch(54.06, 79.44, 314.70°)
OKLaboklab(62.79% 0.1279 -0.1592)
OKLCHoklch(62.79% 0.204 308.8)
XYZxyz(34.8412, 22.0269, 75.7999)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CE4 #94E45C
analogous
#685CE4 #AC5CE4 #E45CD8
triadic
#AC5CE4 #E4AC5C #5CE4AC
tetradic
#AC5CE4 #E4685C #94E45C #5CD8E4
square
#AC5CE4 #E4685C #94E45C #5CD8E4
split-complementary
#AC5CE4 #D8E45C #5CE468
monochromatic
#6F1CAA #9127DB #AC5CE4 #C791ED #E1C5F5

Accessibility & contrast

On white

3.89
#AC5CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AC5CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CE4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CE4#FFFFFF#000000##000000
##AC5CE41.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#237EE8
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#A47697
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5ce4;
/* rgb */ color: rgb(172, 92, 228);
/* oklch */ color: oklch(62.8% 0.204 308.8);
Tailwind
colors: {
  custom: {
    50: '#c88eed',
    500: '#ac5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ce4;
$custom-light: #c88eed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ce4",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 275.294,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62787,
    "c": 0.20419,
    "h": 308.8
  },
  "luminance": 0.22026
}

Semantic roles & 50–950 ramp

primary
#AC5CE4
secondary
#CAE7B5
accent
#D41262
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AC5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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