#AC45D3#AC45D3

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

Color values

HEX#AC45D3
RGBrgb(172, 69, 211)
HSLhsl(284, 62%, 55%)
HSVhsv(284, 67%, 83%)
CMYKcmyk(18.5%, 67.3%, 0%, 17.3%)
CIE-LABlab(49.17, 62.90, -54.66)
CIE-LCHlch(49.17, 83.33, 319.01°)
OKLaboklab(58.93% 0.155 -0.1537)
OKLCHoklch(58.93% 0.218 315.2)
XYZxyz(30.8974, 17.7311, 63.4103)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45D3 #6CD345
analogous
#6545D3 #AC45D3 #D345B3
triadic
#AC45D3 #D3AC45 #45D3AC
tetradic
#AC45D3 #D36545 #6CD345 #45B3D3
square
#AC45D3 #D36545 #6CD345 #45B3D3
split-complementary
#AC45D3 #B3D345 #45D365
monochromatic
#651E7F #8C2AB1 #AC45D3 #C276DF #D8A8EA

Accessibility & contrast

On white

4.62
#AC45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AC45D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45D3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45D3#FFFFFF#000000##FFFFFF
##AC45D31.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#A96187
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac45d3;
/* rgb */ color: rgb(172, 69, 211);
/* oklch */ color: oklch(58.9% 0.218 315.2);
Tailwind
colors: {
  custom: {
    50: '#c980e1',
    500: '#ac45d3',
    950: '#000000',
  },
}
SCSS
$custom: #ac45d3;
$custom-light: #c980e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45d3",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 283.521,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58928,
    "c": 0.21827,
    "h": 315.2
  },
  "luminance": 0.1773
}

Semantic roles & 50–950 ramp

primary
#AC45D3
secondary
#ACD89C
accent
#E5436F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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