#AC45AC#AC45AC

#AC45AC is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.6% C 0.183 H 327.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC45AC
RGBrgb(172, 69, 172)
HSLhsl(300, 43%, 47%)
HSVhsv(300, 60%, 67%)
CMYKcmyk(0%, 59.9%, 0%, 32.5%)
CIE-LABlab(46.98, 55.52, -35.49)
CIE-LCHlch(46.98, 65.89, 327.41°)
OKLaboklab(56.65% 0.1546 -0.0979)
OKLCHoklch(56.65% 0.183 327.7)
XYZxyz(26.5874, 16.0071, 40.7110)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45AC #45AC45
analogous
#7945AC #AC45AC #AC4579
triadic
#AC45AC #ACAC45 #45ACAC
tetradic
#AC45AC #AC7945 #45AC45 #4579AC
square
#AC45AC #AC7945 #45AC45 #4579AC
split-complementary
#AC45AC #79AC45 #45AC79
monochromatic
#552255 #803380 #AC45AC #C46BC4 #D596D5

Accessibility & contrast

On white

5.00
#AC45AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AC45AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45AC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45AC#FFFFFF#000000##FFFFFF
##AC45AC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967AF
Deuteranopia (green-blind)
#5D74A9
Tritanopia (blue-blind)
#B15272
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac45ac;
/* rgb */ color: rgb(172, 69, 172);
/* oklch */ color: oklch(56.6% 0.183 327.7);
Tailwind
colors: {
  custom: {
    50: '#c87fc5',
    500: '#ac45ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac45ac;
$custom-light: #c87fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45ac",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.18296,
    "h": 327.7
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#AC45AC
secondary
#8CC18C
accent
#D35555
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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