#AC74BB#AC74BB

#AC74BB is a light, moderate purple. Relative luminance 0.248; OKLCH L 64.3% C 0.120 H 319.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AC74BB
RGBrgb(172, 116, 187)
HSLhsl(287, 34%, 59%)
HSVhsv(287, 38%, 73%)
CMYKcmyk(8%, 38%, 0%, 26.7%)
CIE-LABlab(56.93, 34.31, -28.67)
CIE-LCHlch(56.93, 44.71, 320.12°)
OKLaboklab(64.25% 0.0904 -0.0787)
OKLCHoklch(64.25% 0.12 319)
XYZxyz(32.2271, 24.8502, 50.1030)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74BB #83BB74
analogous
#8974BB #AC74BB #BB74A7
triadic
#AC74BB #BBAC74 #74BBAC
tetradic
#AC74BB #BB8974 #83BB74 #74A7BB
square
#AC74BB #BB8974 #83BB74 #74A7BB
split-complementary
#AC74BB #A7BB74 #74BB89
monochromatic
#6C3B79 #914FA2 #AC74BB #C59DCF #DDC6E3

Accessibility & contrast

On white

3.52
#AC74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AC74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74BB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74BB#FFFFFF#000000##000000
##AC74BB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#788BB9
Tritanopia (blue-blind)
#AD7D8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ac74bb;
/* rgb */ color: rgb(172, 116, 187);
/* oklch */ color: oklch(64.3% 0.120 319.0);
Tailwind
colors: {
  custom: {
    50: '#c69dcf',
    500: '#ac74bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac74bb;
$custom-light: #c69dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74bb",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 287.324,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6425,
    "c": 0.11985,
    "h": 319
  },
  "luminance": 0.24849
}

Semantic roles & 50–950 ramp

primary
#AC74BB
secondary
#BDD3B8
accent
#CA5D74
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AC74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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