#AC54F0#AC54F0

#AC54F0 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.228 H 306.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AC54F0
RGBrgb(172, 84, 240)
HSLhsl(274, 84%, 64%)
HSVhsv(274, 65%, 94%)
CMYKcmyk(28.3%, 65%, 0%, 5.9%)
CIE-LABlab(53.39, 62.37, -64.28)
CIE-LCHlch(53.39, 89.56, 314.14°)
OKLaboklab(62.54% 0.1365 -0.182)
OKLCHoklch(62.54% 0.228 306.9)
XYZxyz(35.9084, 21.4030, 84.6607)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54F0 #98F054
analogous
#5E54F0 #AC54F0 #F054E6
triadic
#AC54F0 #F0AC54 #54F0AC
tetradic
#AC54F0 #F05E54 #98F054 #54E6F0
square
#AC54F0 #F05E54 #98F054 #54E6F0
split-complementary
#AC54F0 #E6F054 #54F05E
monochromatic
#7010B9 #911CEB #AC54F0 #C78CF5 #E3C5FA

Accessibility & contrast

On white

3.98
#AC54F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AC54F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54F0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54F0#FFFFFF#000000##000000
##AC54F01.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#3080ED
Tritanopia (blue-blind)
#A1759B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac54f0;
/* rgb */ color: rgb(172, 84, 240);
/* oklch */ color: oklch(62.5% 0.228 306.9);
Tailwind
colors: {
  custom: {
    50: '#c989f6',
    500: '#ac54f0',
    950: '#000000',
  },
}
SCSS
$custom: #ac54f0;
$custom-light: #c989f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54f0",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 273.846,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6254,
    "c": 0.22754,
    "h": 306.9
  },
  "luminance": 0.21403
}

Semantic roles & 50–950 ramp

primary
#AC54F0
secondary
#CCECB4
accent
#E00565
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC54F0

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

Preview Lab → · Contrast checker → · Palette generator →

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