#AC42BB#AC42BB

#AC42BB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.1% C 0.200 H 322.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC42BB
RGBrgb(172, 66, 187)
HSLhsl(293, 48%, 50%)
HSVhsv(293, 65%, 73%)
CMYKcmyk(8%, 64.7%, 0%, 26.7%)
CIE-LABlab(47.31, 59.53, -43.77)
CIE-LCHlch(47.31, 73.89, 323.68°)
OKLaboklab(57.14% 0.1589 -0.1219)
OKLCHoklch(57.14% 0.2 322.5)
XYZxyz(27.9302, 16.2564, 48.6707)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC42BB #51BB42
analogous
#7042BB #AC42BB #BB428E
triadic
#AC42BB #BBAC42 #42BBAC
tetradic
#AC42BB #BB7042 #51BB42 #428EBB
square
#AC42BB #BB7042 #51BB42 #428EBB
split-complementary
#AC42BB #8EBB42 #42BB70
monochromatic
#592261 #82328E #AC42BB #C06ECC #D49CDC

Accessibility & contrast

On white

4.94
#AC42BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AC42BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC42BB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC42BB#FFFFFF#000000##FFFFFF
##AC42BB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#AE5579
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac42bb;
/* rgb */ color: rgb(172, 66, 187);
/* oklch */ color: oklch(57.1% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#c87ed0',
    500: '#ac42bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac42bb;
$custom-light: #c87ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac42bb",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 292.562,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.20028,
    "h": 322.5
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#AC42BB
secondary
#98C891
accent
#D75061
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AC42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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