#AC45D1#AC45D1

#AC45D1 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.216 H 315.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AC45D1
RGBrgb(172, 69, 209)
HSLhsl(284, 60%, 55%)
HSVhsv(284, 67%, 82%)
CMYKcmyk(17.7%, 67%, 0%, 18%)
CIE-LABlab(49.05, 62.50, -53.71)
CIE-LCHlch(49.05, 82.40, 319.32°)
OKLaboklab(58.8% 0.1551 -0.1509)
OKLCHoklch(58.8% 0.216 315.8)
XYZxyz(30.6482, 17.6315, 62.0980)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45D1 #6AD145
analogous
#6645D1 #AC45D1 #D145B0
triadic
#AC45D1 #D1AC45 #45D1AC
tetradic
#AC45D1 #D16645 #6AD145 #45B0D1
square
#AC45D1 #D16645 #6AD145 #45B0D1
split-complementary
#AC45D1 #B0D145 #45D166
monochromatic
#641F7D #8B2BAE #AC45D1 #C276DD #D8A7E9

Accessibility & contrast

On white

4.64
#AC45D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AC45D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45D1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45D1#FFFFFF#000000##FFFFFF
##AC45D11.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#4477CE
Tritanopia (blue-blind)
#AA6086
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac45d1;
/* rgb */ color: rgb(172, 69, 209);
/* oklch */ color: oklch(58.8% 0.216 315.8);
Tailwind
colors: {
  custom: {
    50: '#c880e0',
    500: '#ac45d1',
    950: '#000000',
  },
}
SCSS
$custom: #ac45d1;
$custom-light: #c880e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45d1",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 284.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.21641,
    "h": 315.8
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#AC45D1
secondary
#ABD79B
accent
#E3446E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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