#AC55EC#AC55EC

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

Color values

HEX#AC55EC
RGBrgb(172, 85, 236)
HSLhsl(275, 80%, 63%)
HSVhsv(275, 64%, 93%)
CMYKcmyk(27.1%, 64%, 0%, 7.5%)
CIE-LABlab(53.30, 61.02, -62.17)
CIE-LCHlch(53.30, 87.11, 314.46°)
OKLaboklab(62.4% 0.1357 -0.1758)
OKLCHoklch(62.4% 0.222 307.7)
XYZxyz(35.3989, 21.3243, 81.5918)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC55EC #95EC55
analogous
#6155EC #AC55EC #EC55E0
triadic
#AC55EC #ECAC55 #55ECAC
tetradic
#AC55EC #EC6155 #95EC55 #55E0EC
square
#AC55EC #EC6155 #95EC55 #55E0EC
split-complementary
#AC55EC #E0EC55 #55EC61
monochromatic
#6F14B3 #911EE6 #AC55EC #C78CF2 #E2C3F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC55EC#FFFFFF#000000##000000
##AC55EC1.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)
#007CF1
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#A27499
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac55ec;
/* rgb */ color: rgb(172, 85, 236);
/* oklch */ color: oklch(62.4% 0.222 307.7);
Tailwind
colors: {
  custom: {
    50: '#c98af3',
    500: '#ac55ec',
    950: '#000000',
  },
}
SCSS
$custom: #ac55ec;
$custom-light: #c98af3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac55ec",
  "rgb": {
    "r": 172,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 274.57,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62398,
    "c": 0.22215,
    "h": 307.7
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#AC55EC
secondary
#CAEAB3
accent
#DC0963
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC55EC

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

Preview Lab → · Contrast checker → · Palette generator →

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