#AC45AD#AC45AD

#AC45AD is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.184 H 327.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AC45AD
RGBrgb(172, 69, 173)
HSLhsl(299, 43%, 47%)
HSVhsv(299, 60%, 68%)
CMYKcmyk(0.6%, 60.1%, 0%, 32.2%)
CIE-LABlab(47.03, 55.70, -36.00)
CIE-LCHlch(47.03, 66.32, 327.12°)
OKLaboklab(56.7% 0.1547 -0.0993)
OKLCHoklch(56.7% 0.184 327.3)
XYZxyz(26.6838, 16.0457, 41.2187)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45AD #46AD45
analogous
#7845AD #AC45AD #AD457A
triadic
#AC45AD #ADAC45 #45ADAC
tetradic
#AC45AD #AD7845 #46AD45 #457AAD
square
#AC45AD #AD7845 #46AD45 #457AAD
split-complementary
#AC45AD #7AAD45 #45AD78
monochromatic
#552255 #813481 #AC45AD #C36BC4 #D597D5

Accessibility & contrast

On white

4.99
#AC45AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AC45AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45AD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45AD#FFFFFF#000000##FFFFFF
##AC45AD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B0
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#B15273
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac45ad;
/* rgb */ color: rgb(172, 69, 173);
/* oklch */ color: oklch(56.7% 0.184 327.3);
Tailwind
colors: {
  custom: {
    50: '#c87fc6',
    500: '#ac45ad',
    950: '#000000',
  },
}
SCSS
$custom: #ac45ad;
$custom-light: #c87fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45ad",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 299.423,
    "s": 42.975,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.18383,
    "h": 327.3
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#AC45AD
secondary
#8DC18C
accent
#D35556
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC45AD

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

Preview Lab → · Contrast checker → · Palette generator →

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