#AC45BE#AC45BE

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

Color values

HEX#AC45BE
RGBrgb(172, 69, 190)
HSLhsl(291, 48%, 51%)
HSVhsv(291, 64%, 75%)
CMYKcmyk(9.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(47.94, 58.81, -44.51)
CIE-LCHlch(47.94, 73.76, 322.88°)
OKLaboklab(57.65% 0.1555 -0.1241)
OKLCHoklch(57.65% 0.199 321.4)
XYZxyz(28.4346, 16.7460, 50.4398)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45BE #57BE45
analogous
#6F45BE #AC45BE #BE4594
triadic
#AC45BE #BEAC45 #45BEAC
tetradic
#AC45BE #BE6F45 #57BE45 #4594BE
square
#AC45BE #BE6F45 #57BE45 #4594BE
split-complementary
#AC45BE #94BE45 #45BE6F
monochromatic
#5B2365 #843393 #AC45BE #C072CE #D4A0DE

Accessibility & contrast

On white

4.83
#AC45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AC45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45BE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45BE#FFFFFF#000000##FFFFFF
##AC45BE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC2
Deuteranopia (green-blind)
#5276BB
Tritanopia (blue-blind)
#AE597B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac45be;
/* rgb */ color: rgb(172, 69, 190);
/* oklch */ color: oklch(57.6% 0.199 321.4);
Tailwind
colors: {
  custom: {
    50: '#c880d2',
    500: '#ac45be',
    950: '#000000',
  },
}
SCSS
$custom: #ac45be;
$custom-light: #c880d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45be",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 291.074,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.19892,
    "h": 321.4
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#AC45BE
secondary
#9DCA95
accent
#D85064
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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