#AC54F1#AC54F1

#AC54F1 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.229 H 306.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AC54F1
RGBrgb(172, 84, 241)
HSLhsl(274, 85%, 64%)
HSVhsv(274, 65%, 95%)
CMYKcmyk(28.6%, 65.1%, 0%, 5.5%)
CIE-LABlab(53.45, 62.59, -64.73)
CIE-LCHlch(53.45, 90.04, 314.04°)
OKLaboklab(62.61% 0.1365 -0.1834)
OKLCHoklch(62.61% 0.229 306.7)
XYZxyz(36.0574, 21.4626, 85.4452)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC54F1 #99F154
analogous
#5D54F1 #AC54F1 #F154E7
triadic
#AC54F1 #F1AC54 #54F1AC
tetradic
#AC54F1 #F15D54 #99F154 #54E7F1
square
#AC54F1 #F15D54 #99F154 #54E7F1
split-complementary
#AC54F1 #E7F154 #54F15D
monochromatic
#700FBB #911BEC #AC54F1 #C78DF6 #E3C5FA

Accessibility & contrast

On white

3.97
#AC54F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AC54F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC54F1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC54F1#FFFFFF#000000##000000
##AC54F11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#2E80EE
Tritanopia (blue-blind)
#A0769C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac54f1;
/* rgb */ color: rgb(172, 84, 241);
/* oklch */ color: oklch(62.6% 0.229 306.7);
Tailwind
colors: {
  custom: {
    50: '#c98af6',
    500: '#ac54f1',
    950: '#000000',
  },
}
SCSS
$custom: #ac54f1;
$custom-light: #c98af6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac54f1",
  "rgb": {
    "r": 172,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 273.631,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.22856,
    "h": 306.7
  },
  "luminance": 0.21462
}

Semantic roles & 50–950 ramp

primary
#AC54F1
secondary
#CDECB5
accent
#E10465
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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