#AC54EE#AC54EE

#AC54EE is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.225 H 307.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AC54EE
RGBrgb(172, 84, 238)
HSLhsl(274, 82%, 63%)
HSVhsv(274, 65%, 93%)
CMYKcmyk(27.7%, 64.7%, 0%, 6.7%)
CIE-LABlab(53.26, 61.93, -63.36)
CIE-LCHlch(53.26, 88.60, 314.34°)
OKLaboklab(62.41% 0.1367 -0.1793)
OKLCHoklch(62.41% 0.225 307.3)
XYZxyz(35.6130, 21.2848, 83.1046)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54EE #96EE54
analogous
#5F54EE #AC54EE #EE54E3
triadic
#AC54EE #EEAC54 #54EEAC
tetradic
#AC54EE #EE5F54 #96EE54 #54E3EE
square
#AC54EE #EE5F54 #96EE54 #54E3EE
split-complementary
#AC54EE #E3EE54 #54EE5F
monochromatic
#6F12B6 #911CE8 #AC54EE #C78CF4 #E2C3F9

Accessibility & contrast

On white

3.99
#AC54EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AC54EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54EE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54EE#FFFFFF#000000##000000
##AC54EE1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#3380EB
Tritanopia (blue-blind)
#A1759A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac54ee;
/* rgb */ color: rgb(172, 84, 238);
/* oklch */ color: oklch(62.4% 0.225 307.3);
Tailwind
colors: {
  custom: {
    50: '#c989f4',
    500: '#ac54ee',
    950: '#000000',
  },
}
SCSS
$custom: #ac54ee;
$custom-light: #c989f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54ee",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 274.286,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.22549,
    "h": 307.3
  },
  "luminance": 0.21284
}

Semantic roles & 50–950 ramp

primary
#AC54EE
secondary
#CBEAB3
accent
#DE0763
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC54EE

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

Preview Lab → · Contrast checker → · Palette generator →

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