#AC5CE8#AC5CE8

#AC5CE8 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.0% C 0.208 H 307.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AC5CE8
RGBrgb(172, 92, 232)
HSLhsl(274, 75%, 64%)
HSVhsv(274, 60%, 91%)
CMYKcmyk(25.9%, 60.3%, 0%, 9%)
CIE-LABlab(54.29, 56.77, -58.34)
CIE-LCHlch(54.29, 81.40, 314.22°)
OKLaboklab(63.04% 0.1279 -0.1646)
OKLCHoklch(63.04% 0.208 307.8)
XYZxyz(35.4029, 22.2516, 78.7582)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CE8 #98E85C
analogous
#665CE8 #AC5CE8 #E85CDE
triadic
#AC5CE8 #E8AC5C #5CE8AC
tetradic
#AC5CE8 #E8665C #98E85C #5CDEE8
square
#AC5CE8 #E8665C #98E85C #5CDEE8
split-complementary
#AC5CE8 #DEE85C #5CE866
monochromatic
#7019B1 #9126E0 #AC5CE8 #C792F0 #E3C7F7

Accessibility & contrast

On white

3.85
#AC5CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AC5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CE8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CE8#FFFFFF#000000##000000
##AC5CE81.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7FEC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#A3789A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5ce8;
/* rgb */ color: rgb(172, 92, 232);
/* oklch */ color: oklch(63.0% 0.208 307.8);
Tailwind
colors: {
  custom: {
    50: '#c88ef0',
    500: '#ac5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ce8;
$custom-light: #c88ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ce8",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 274.286,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63036,
    "c": 0.20844,
    "h": 307.8
  },
  "luminance": 0.22251
}

Semantic roles & 50–950 ramp

primary
#AC5CE8
secondary
#CCE9B7
accent
#D70E64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D17
muted
#827D85

Preview Lab

Preview with #AC5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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