#AC55E4#AC55E4

#AC55E4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.214 H 309.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AC55E4
RGBrgb(172, 85, 228)
HSLhsl(277, 73%, 61%)
HSVhsv(277, 63%, 89%)
CMYKcmyk(24.6%, 62.7%, 0%, 10.6%)
CIE-LABlab(52.81, 59.27, -58.47)
CIE-LCHlch(52.81, 83.26, 315.39°)
OKLaboklab(61.88% 0.1362 -0.165)
OKLCHoklch(61.88% 0.214 309.5)
XYZxyz(34.2626, 20.8697, 75.6071)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC55E4 #8DE455
analogous
#6555E4 #AC55E4 #E455D5
triadic
#AC55E4 #E4AC55 #55E4AC
tetradic
#AC55E4 #E46555 #8DE455 #55D5E4
square
#AC55E4 #E46555 #8DE455 #55D5E4
split-complementary
#AC55E4 #D5E455 #55E465
monochromatic
#6E1AA4 #9223D9 #AC55E4 #C68AEC #E0BFF5

Accessibility & contrast

On white

4.06
#AC55E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AC55E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC55E4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC55E4#FFFFFF#000000##000000
##AC55E41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#417FE1
Tritanopia (blue-blind)
#A47295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac55e4;
/* rgb */ color: rgb(172, 85, 228);
/* oklch */ color: oklch(61.9% 0.214 309.5);
Tailwind
colors: {
  custom: {
    50: '#c98aed',
    500: '#ac55e4',
    950: '#000000',
  },
}
SCSS
$custom: #ac55e4;
$custom-light: #c98aed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac55e4",
  "rgb": {
    "r": 172,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 276.503,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.21393,
    "h": 309.5
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#AC55E4
secondary
#C5E5B0
accent
#D5115E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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