#AC45BD#AC45BD

#AC45BD is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.198 H 321.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AC45BD
RGBrgb(172, 69, 189)
HSLhsl(292, 48%, 51%)
HSVhsv(292, 63%, 74%)
CMYKcmyk(9%, 63.5%, 0%, 25.9%)
CIE-LABlab(47.88, 58.62, -44.02)
CIE-LCHlch(47.88, 73.31, 323.10°)
OKLaboklab(57.59% 0.1555 -0.1226)
OKLCHoklch(57.59% 0.198 321.7)
XYZxyz(28.3257, 16.7025, 49.8661)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45BD #56BD45
analogous
#7045BD #AC45BD #BD4592
triadic
#AC45BD #BDAC45 #45BDAC
tetradic
#AC45BD #BD7045 #56BD45 #4592BD
square
#AC45BD #BD7045 #56BD45 #4592BD
split-complementary
#AC45BD #92BD45 #45BD70
monochromatic
#5B2464 #843491 #AC45BD #C072CD #D49FDD

Accessibility & contrast

On white

4.84
#AC45BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AC45BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45BD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45BD#FFFFFF#000000##FFFFFF
##AC45BD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC1
Deuteranopia (green-blind)
#5376BA
Tritanopia (blue-blind)
#AE587B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac45bd;
/* rgb */ color: rgb(172, 69, 189);
/* oklch */ color: oklch(57.6% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#c880d1',
    500: '#ac45bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac45bd;
$custom-light: #c880d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45bd",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 291.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.19801,
    "h": 321.7
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#AC45BD
secondary
#9CCA94
accent
#D75164
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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