#AC45D4#AC45D4

#AC45D4 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.219 H 315.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AC45D4
RGBrgb(172, 69, 212)
HSLhsl(283, 62%, 55%)
HSVhsv(283, 67%, 83%)
CMYKcmyk(18.9%, 67.5%, 0%, 16.9%)
CIE-LABlab(49.23, 63.10, -55.13)
CIE-LCHlch(49.23, 83.79, 318.85°)
OKLaboklab(58.99% 0.1549 -0.1551)
OKLCHoklch(58.99% 0.219 315)
XYZxyz(31.0231, 17.7814, 64.0726)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45D4 #6DD445
analogous
#6545D4 #AC45D4 #D445B4
triadic
#AC45D4 #D4AC45 #45D4AC
tetradic
#AC45D4 #D46545 #6DD445 #45B4D4
square
#AC45D4 #D46545 #6DD445 #45B4D4
split-complementary
#AC45D4 #B4D445 #45D465
monochromatic
#651E81 #8C29B3 #AC45D4 #C277DF #D8A8EB

Accessibility & contrast

On white

4.61
#AC45D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AC45D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45D4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45D4#FFFFFF#000000##FFFFFF
##AC45D41.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#A96187
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac45d4;
/* rgb */ color: rgb(172, 69, 212);
/* oklch */ color: oklch(59.0% 0.219 315.0);
Tailwind
colors: {
  custom: {
    50: '#c980e2',
    500: '#ac45d4',
    950: '#000000',
  },
}
SCSS
$custom: #ac45d4;
$custom-light: #c980e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45d4",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 283.217,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.2192,
    "h": 315
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#AC45D4
secondary
#ADD89C
accent
#E64270
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AC45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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