#AC45AF#AC45AF

#AC45AF is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.186 H 326.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC45AF
RGBrgb(172, 69, 175)
HSLhsl(298, 43%, 48%)
HSVhsv(298, 61%, 69%)
CMYKcmyk(1.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(47.14, 56.05, -37.02)
CIE-LCHlch(47.14, 67.17, 326.56°)
OKLaboklab(56.81% 0.1548 -0.1023)
OKLCHoklch(56.81% 0.186 326.5)
XYZxyz(26.8787, 16.1237, 42.2456)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC45AF #48AF45
analogous
#7745AF #AC45AF #AF457D
triadic
#AC45AF #AFAC45 #45AFAC
tetradic
#AC45AF #AF7745 #48AF45 #457DAF
square
#AC45AF #AF7745 #48AF45 #457DAF
split-complementary
#AC45AF #7DAF45 #45AF77
monochromatic
#562257 #813483 #AC45AF #C36CC5 #D598D6

Accessibility & contrast

On white

4.97
#AC45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AC45AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC45AF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC45AF#FFFFFF#000000##FFFFFF
##AC45AF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B2
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#B05374
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac45af;
/* rgb */ color: rgb(172, 69, 175);
/* oklch */ color: oklch(56.8% 0.186 326.5);
Tailwind
colors: {
  custom: {
    50: '#c87fc7',
    500: '#ac45af',
    950: '#000000',
  },
}
SCSS
$custom: #ac45af;
$custom-light: #c87fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac45af",
  "rgb": {
    "r": 172,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 298.302,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56806,
    "c": 0.18557,
    "h": 326.5
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#AC45AF
secondary
#8FC28D
accent
#D35558
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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