#AC54E0#AC54E0

#AC54E0 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.211 H 310.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AC54E0
RGBrgb(172, 84, 224)
HSLhsl(278, 69%, 60%)
HSVhsv(278, 63%, 88%)
CMYKcmyk(23.2%, 62.5%, 0%, 12.2%)
CIE-LABlab(52.39, 58.87, -56.88)
CIE-LCHlch(52.39, 81.86, 315.99°)
OKLaboklab(61.5% 0.1375 -0.1603)
OKLCHoklch(61.5% 0.211 310.6)
XYZxyz(33.6356, 20.4938, 72.6904)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54E0 #88E054
analogous
#6654E0 #AC54E0 #E054CE
triadic
#AC54E0 #E0AC54 #54E0AC
tetradic
#AC54E0 #E06654 #88E054 #54CEE0
square
#AC54E0 #E06654 #88E054 #54CEE0
split-complementary
#AC54E0 #CEE054 #54E066
monochromatic
#6D1C9D #9126D1 #AC54E0 #C588E9 #DEBCF3

Accessibility & contrast

On white

4.12
#AC54E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AC54E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54E0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54E0#FFFFFF#000000##000000
##AC54E01.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B79E4
Deuteranopia (green-blind)
#447FDD
Tritanopia (blue-blind)
#A56F93
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac54e0;
/* rgb */ color: rgb(172, 84, 224);
/* oklch */ color: oklch(61.5% 0.211 310.6);
Tailwind
colors: {
  custom: {
    50: '#c889ea',
    500: '#ac54e0',
    950: '#000000',
  },
}
SCSS
$custom: #ac54e0;
$custom-light: #c889ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54e0",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 224
  },
  "hsl": {
    "h": 277.714,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.2112,
    "h": 310.6
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

primary
#AC54E0
secondary
#C1E3AD
accent
#D1145A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC54E0

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

Preview Lab → · Contrast checker → · Palette generator →

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