#AC42BD#AC42BD

#AC42BD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.202 H 321.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AC42BD
RGBrgb(172, 66, 189)
HSLhsl(292, 48%, 50%)
HSVhsv(292, 65%, 74%)
CMYKcmyk(9%, 65.1%, 0%, 25.9%)
CIE-LABlab(47.42, 59.90, -44.75)
CIE-LCHlch(47.42, 74.78, 323.24°)
OKLaboklab(57.26% 0.159 -0.1247)
OKLCHoklch(57.26% 0.202 321.9)
XYZxyz(28.1458, 16.3427, 49.8062)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC42BD #53BD42
analogous
#6E42BD #AC42BD #BD4291
triadic
#AC42BD #BDAC42 #42BDAC
tetradic
#AC42BD #BD6E42 #53BD42 #4291BD
square
#AC42BD #BD6E42 #53BD42 #4291BD
split-complementary
#AC42BD #91BD42 #42BD6E
monochromatic
#592262 #833290 #AC42BD #C06FCD #D49DDD

Accessibility & contrast

On white

4.92
#AC42BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AC42BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC42BD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC42BD#FFFFFF#000000##FFFFFF
##AC42BD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C1
Deuteranopia (green-blind)
#5175BA
Tritanopia (blue-blind)
#AE567A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ac42bd;
/* rgb */ color: rgb(172, 66, 189);
/* oklch */ color: oklch(57.3% 0.202 321.9);
Tailwind
colors: {
  custom: {
    50: '#c87ed1',
    500: '#ac42bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac42bd;
$custom-light: #c87ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac42bd",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 291.707,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.20206,
    "h": 321.9
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#AC42BD
secondary
#99C992
accent
#D85063
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AC42BD

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

Preview Lab → · Contrast checker → · Palette generator →

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