#AC45D6#AC45D6

#AC45D6 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.221 H 314.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AC45D6
RGBrgb(172, 69, 214)
HSLhsl(283, 64%, 55%)
HSVhsv(283, 68%, 84%)
CMYKcmyk(19.6%, 67.8%, 0%, 16.1%)
CIE-LABlab(49.35, 63.50, -56.08)
CIE-LCHlch(49.35, 84.71, 318.55°)
OKLaboklab(59.12% 0.1548 -0.1579)
OKLCHoklch(59.12% 0.221 314.4)
XYZxyz(31.2770, 17.8830, 65.4095)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45D6 #6FD645
analogous
#6345D6 #AC45D6 #D645B7
triadic
#AC45D6 #D6AC45 #45D6AC
tetradic
#AC45D6 #D66345 #6FD645 #45B7D6
square
#AC45D6 #D66345 #6FD645 #45B7D6
split-complementary
#AC45D6 #B7D645 #45D663
monochromatic
#661D84 #8D28B6 #AC45D6 #C277E1 #D9A9EC

Accessibility & contrast

On white

4.59
#AC45D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AC45D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45D6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45D6#FFFFFF#000000##FFFFFF
##AC45D61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#A86288
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac45d6;
/* rgb */ color: rgb(172, 69, 214);
/* oklch */ color: oklch(59.1% 0.221 314.4);
Tailwind
colors: {
  custom: {
    50: '#c980e3',
    500: '#ac45d6',
    950: '#000000',
  },
}
SCSS
$custom: #ac45d6;
$custom-light: #c980e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45d6",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 282.621,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5912,
    "c": 0.22107,
    "h": 314.4
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#AC45D6
secondary
#AFDA9D
accent
#E74171
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AC45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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