#AC54E8#AC54E8

#AC54E8 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.219 H 308.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AC54E8
RGBrgb(172, 84, 232)
HSLhsl(276, 76%, 62%)
HSVhsv(276, 64%, 91%)
CMYKcmyk(25.9%, 63.8%, 0%, 9%)
CIE-LABlab(52.88, 60.61, -60.60)
CIE-LCHlch(52.88, 85.71, 315.00°)
OKLaboklab(62.01% 0.1371 -0.1712)
OKLCHoklch(62.01% 0.219 308.7)
XYZxyz(34.7461, 20.9381, 78.5393)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54E8 #90E854
analogous
#6254E8 #AC54E8 #E854DA
triadic
#AC54E8 #E8AC54 #54E8AC
tetradic
#AC54E8 #E86254 #90E854 #54DAE8
square
#AC54E8 #E86254 #90E854 #54DAE8
split-complementary
#AC54E8 #DAE854 #54E862
monochromatic
#6F17AB #921EE1 #AC54E8 #C68AEF #E0C0F7

Accessibility & contrast

On white

4.05
#AC54E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AC54E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54E8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54E8#FFFFFF#000000##000000
##AC54E81.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#3B7FE5
Tritanopia (blue-blind)
#A37297
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac54e8;
/* rgb */ color: rgb(172, 84, 232);
/* oklch */ color: oklch(62.0% 0.219 308.7);
Tailwind
colors: {
  custom: {
    50: '#c989f0',
    500: '#ac54e8',
    950: '#000000',
  },
}
SCSS
$custom: #ac54e8;
$custom-light: #c989f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54e8",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 275.676,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62014,
    "c": 0.21937,
    "h": 308.7
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#AC54E8
secondary
#C7E7B1
accent
#D80D60
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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