#AC45F1#AC45F1

#AC45F1 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.9% C 0.246 H 308.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AC45F1
RGBrgb(172, 69, 241)
HSLhsl(276, 86%, 61%)
HSVhsv(276, 71%, 95%)
CMYKcmyk(28.6%, 71.4%, 0%, 5.5%)
CIE-LABlab(51.13, 69.09, -68.49)
CIE-LCHlch(51.13, 97.29, 315.25°)
OKLaboklab(60.95% 0.1516 -0.1943)
OKLCHoklch(60.95% 0.246 308)
XYZxyz(35.0153, 19.3783, 85.0978)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45F1 #8AF145
analogous
#5645F1 #AC45F1 #F145E0
triadic
#AC45F1 #F1AC45 #45F1AC
tetradic
#AC45F1 #F15645 #8AF145 #45E0F1
square
#AC45F1 #F15645 #8AF145 #45E0F1
split-complementary
#AC45F1 #E0F145 #45F156
monochromatic
#6E0DAE #9211E7 #AC45F1 #C57EF5 #DFB7FA

Accessibility & contrast

On white

4.31
#AC45F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AC45F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC45F1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45F1#FFFFFF#000000##000000
##AC45F11.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#077BED
Tritanopia (blue-blind)
#A16D97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac45f1;
/* rgb */ color: rgb(172, 69, 241);
/* oklch */ color: oklch(60.9% 0.246 308.0);
Tailwind
colors: {
  custom: {
    50: '#ca81f7',
    500: '#ac45f1',
    950: '#000000',
  },
}
SCSS
$custom: #ac45f1;
$custom-light: #ca81f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45f1",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 275.93,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60946,
    "c": 0.24648,
    "h": 308
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#AC45F1
secondary
#C2E9A8
accent
#E3035D
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B17
muted
#837C85

Preview Lab

Preview with #AC45F1

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

Preview Lab → · Contrast checker → · Palette generator →

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