#AC45D7#AC45D7

#AC45D7 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.222 H 314.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AC45D7
RGBrgb(172, 69, 215)
HSLhsl(282, 65%, 56%)
HSVhsv(282, 68%, 84%)
CMYKcmyk(20%, 67.9%, 0%, 15.7%)
CIE-LABlab(49.42, 63.70, -56.55)
CIE-LCHlch(49.42, 85.18, 318.40°)
OKLaboklab(59.19% 0.1547 -0.1592)
OKLCHoklch(59.19% 0.222 314.2)
XYZxyz(31.4051, 17.9342, 66.0841)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45D7 #70D745
analogous
#6345D7 #AC45D7 #D745B9
triadic
#AC45D7 #D7AC45 #45D7AC
tetradic
#AC45D7 #D76345 #70D745 #45B9D7
square
#AC45D7 #D76345 #70D745 #45B9D7
split-complementary
#AC45D7 #B9D745 #45D763
monochromatic
#661D85 #8D27B7 #AC45D7 #C277E2 #D9AAED

Accessibility & contrast

On white

4.58
#AC45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AC45D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC45D7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45D7#FFFFFF#000000##000000
##AC45D71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#A86289
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac45d7;
/* rgb */ color: rgb(172, 69, 215);
/* oklch */ color: oklch(59.2% 0.222 314.2);
Tailwind
colors: {
  custom: {
    50: '#c980e4',
    500: '#ac45d7',
    950: '#000000',
  },
}
SCSS
$custom: #ac45d7;
$custom-light: #c980e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45d7",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 282.329,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59185,
    "c": 0.22201,
    "h": 314.2
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#AC45D7
secondary
#AFDA9E
accent
#E84072
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AC45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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