#AC42BC#AC42BC

#AC42BC is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.2% C 0.201 H 322.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AC42BC
RGBrgb(172, 66, 188)
HSLhsl(292, 48%, 50%)
HSVhsv(292, 65%, 74%)
CMYKcmyk(8.5%, 64.9%, 0%, 26.3%)
CIE-LABlab(47.36, 59.72, -44.26)
CIE-LCHlch(47.36, 74.33, 323.45°)
OKLaboklab(57.2% 0.159 -0.1233)
OKLCHoklch(57.2% 0.201 322.2)
XYZxyz(28.0376, 16.2994, 49.2365)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC42BC #52BC42
analogous
#6F42BC #AC42BC #BC428F
triadic
#AC42BC #BCAC42 #42BCAC
tetradic
#AC42BC #BC6F42 #52BC42 #428FBC
square
#AC42BC #BC6F42 #52BC42 #428FBC
split-complementary
#AC42BC #8FBC42 #42BC6F
monochromatic
#592261 #83328F #AC42BC #C06FCC #D49CDC

Accessibility & contrast

On white

4.93
#AC42BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AC42BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC42BC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC42BC#FFFFFF#000000##FFFFFF
##AC42BC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C0
Deuteranopia (green-blind)
#5274B9
Tritanopia (blue-blind)
#AE5679
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac42bc;
/* rgb */ color: rgb(172, 66, 188);
/* oklch */ color: oklch(57.2% 0.201 322.2);
Tailwind
colors: {
  custom: {
    50: '#c87ed1',
    500: '#ac42bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac42bc;
$custom-light: #c87ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac42bc",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 292.131,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.20117,
    "h": 322.2
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#AC42BC
secondary
#99C991
accent
#D85062
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AC42BC

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

Preview Lab → · Contrast checker → · Palette generator →

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