#AC54EC#AC54EC

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

Color values

HEX#AC54EC
RGBrgb(172, 84, 236)
HSLhsl(275, 80%, 63%)
HSVhsv(275, 64%, 93%)
CMYKcmyk(27.1%, 64.4%, 0%, 7.5%)
CIE-LABlab(53.13, 61.49, -62.45)
CIE-LCHlch(53.13, 87.64, 314.56°)
OKLaboklab(62.28% 0.1369 -0.1766)
OKLCHoklch(62.28% 0.223 307.8)
XYZxyz(35.3208, 21.1679, 81.5657)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54EC #94EC54
analogous
#6054EC #AC54EC #EC54E0
triadic
#AC54EC #ECAC54 #54ECAC
tetradic
#AC54EC #EC6054 #94EC54 #54E0EC
square
#AC54EC #EC6054 #94EC54 #54E0EC
split-complementary
#AC54EC #E0EC54 #54EC60
monochromatic
#6F14B2 #911DE6 #AC54EC #C78BF2 #E1C2F8

Accessibility & contrast

On white

4.01
#AC54EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AC54EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54EC#FFFFFF#000000##000000
##AC54EC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#3680E9
Tritanopia (blue-blind)
#A27499
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac54ec;
/* rgb */ color: rgb(172, 84, 236);
/* oklch */ color: oklch(62.3% 0.223 307.8);
Tailwind
colors: {
  custom: {
    50: '#c989f3',
    500: '#ac54ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac54ec;
$custom-light: #c989f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54ec",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 274.737,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62275,
    "c": 0.22345,
    "h": 307.8
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#AC54EC
secondary
#CAE9B2
accent
#DC0962
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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