#AC45DF#AC45DF

#AC45DF is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.230 H 312.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AC45DF
RGBrgb(172, 69, 223)
HSLhsl(280, 71%, 57%)
HSVhsv(280, 69%, 87%)
CMYKcmyk(22.9%, 69.1%, 0%, 12.5%)
CIE-LABlab(49.92, 65.33, -60.28)
CIE-LCHlch(49.92, 88.89, 317.30°)
OKLaboklab(59.71% 0.154 -0.1702)
OKLCHoklch(59.71% 0.23 312.1)
XYZxyz(32.4582, 18.3555, 71.6309)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45DF #78DF45
analogous
#5F45DF #AC45DF #DF45C5
triadic
#AC45DF #DFAC45 #45DFAC
tetradic
#AC45DF #DF5F45 #78DF45 #45C5DF
square
#AC45DF #DF5F45 #78DF45 #45C5DF
split-complementary
#AC45DF #C5DF45 #45DF5F
monochromatic
#691991 #8F22C5 #AC45DF #C379E8 #DBADF1

Accessibility & contrast

On white

4.50
#AC45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AC45DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC45DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45DF#FFFFFF#000000##000000
##AC45DF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#A6668D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac45df;
/* rgb */ color: rgb(172, 69, 223);
/* oklch */ color: oklch(59.7% 0.230 312.1);
Tailwind
colors: {
  custom: {
    50: '#c981ea',
    500: '#ac45df',
    950: '#000000',
  },
}
SCSS
$custom: #ac45df;
$custom-light: #c981ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45df",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 280.13,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.22952,
    "h": 312.1
  },
  "luminance": 0.18355
}

Semantic roles & 50–950 ramp

primary
#AC45DF
secondary
#B5DFA1
accent
#ED3A76
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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