#AC45D2#AC45D2

#AC45D2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.217 H 315.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AC45D2
RGBrgb(172, 69, 210)
HSLhsl(284, 61%, 55%)
HSVhsv(284, 67%, 82%)
CMYKcmyk(18.1%, 67.1%, 0%, 17.6%)
CIE-LABlab(49.11, 62.70, -54.18)
CIE-LCHlch(49.11, 82.87, 319.16°)
OKLaboklab(58.86% 0.155 -0.1523)
OKLCHoklch(58.86% 0.217 315.5)
XYZxyz(30.7724, 17.6812, 62.7521)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45D2 #6BD245
analogous
#6645D2 #AC45D2 #D245B1
triadic
#AC45D2 #D2AC45 #45D2AC
tetradic
#AC45D2 #D26645 #6BD245 #45B1D2
square
#AC45D2 #D26645 #6BD245 #45B1D2
split-complementary
#AC45D2 #B1D245 #45D266
monochromatic
#641F7E #8C2AAF #AC45D2 #C276DE #D8A8EA

Accessibility & contrast

On white

4.63
#AC45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AC45D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45D2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45D2#FFFFFF#000000##FFFFFF
##AC45D21.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#4377CF
Tritanopia (blue-blind)
#A96086
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac45d2;
/* rgb */ color: rgb(172, 69, 210);
/* oklch */ color: oklch(58.9% 0.217 315.5);
Tailwind
colors: {
  custom: {
    50: '#c980e0',
    500: '#ac45d2',
    950: '#000000',
  },
}
SCSS
$custom: #ac45d2;
$custom-light: #c980e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45d2",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 283.83,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58864,
    "c": 0.21734,
    "h": 315.5
  },
  "luminance": 0.1768
}

Semantic roles & 50–950 ramp

primary
#AC45D2
secondary
#ACD79C
accent
#E4446F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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