#AC45D5#AC45D5

#AC45D5 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.220 H 314.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AC45D5
RGBrgb(172, 69, 213)
HSLhsl(283, 63%, 55%)
HSVhsv(283, 68%, 84%)
CMYKcmyk(19.2%, 67.6%, 0%, 16.5%)
CIE-LABlab(49.29, 63.30, -55.60)
CIE-LCHlch(49.29, 84.25, 318.70°)
OKLaboklab(59.06% 0.1548 -0.1565)
OKLCHoklch(59.06% 0.22 314.7)
XYZxyz(31.1496, 17.8321, 64.7390)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45D5 #6ED545
analogous
#6445D5 #AC45D5 #D545B6
triadic
#AC45D5 #D5AC45 #45D5AC
tetradic
#AC45D5 #D56445 #6ED545 #45B6D5
square
#AC45D5 #D56445 #6ED545 #45B6D5
split-complementary
#AC45D5 #B6D545 #45D564
monochromatic
#661D82 #8C29B4 #AC45D5 #C277E0 #D9A9EC

Accessibility & contrast

On white

4.60
#AC45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AC45D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45D5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45D5#FFFFFF#000000##FFFFFF
##AC45D51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#A96288
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac45d5;
/* rgb */ color: rgb(172, 69, 213);
/* oklch */ color: oklch(59.1% 0.220 314.7);
Tailwind
colors: {
  custom: {
    50: '#c980e3',
    500: '#ac45d5',
    950: '#000000',
  },
}
SCSS
$custom: #ac45d5;
$custom-light: #c980e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45d5",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 282.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59056,
    "c": 0.22015,
    "h": 314.7
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#AC45D5
secondary
#AED99D
accent
#E64270
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AC45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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