#AC21BD#AC21BD

#AC21BD is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.5% C 0.237 H 322.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AC21BD
RGBrgb(172, 33, 189)
HSLhsl(293, 70%, 44%)
HSVhsv(293, 83%, 74%)
CMYKcmyk(9%, 82.5%, 0%, 25.9%)
CIE-LABlab(43.56, 70.92, -50.93)
CIE-LCHlch(43.56, 87.31, 324.32°)
OKLaboklab(54.5% 0.1888 -0.1426)
OKLCHoklch(54.5% 0.237 322.9)
XYZxyz(26.7415, 13.5342, 49.3381)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC21BD #32BD21
analogous
#5E21BD #AC21BD #BD2180
triadic
#AC21BD #BDAC21 #21BDAC
tetradic
#AC21BD #BD5E21 #32BD21 #2180BD
square
#AC21BD #BD5E21 #32BD21 #2180BD
split-complementary
#AC21BD #80BD21 #21BD5E
monochromatic
#4D0F55 #7D1889 #AC21BD #CC3EDD #DA72E6

Accessibility & contrast

On white

5.67
#AC21BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AC21BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC21BD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC21BD#FFFFFF#000000##FFFFFF
##AC21BD1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#AE4372
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac21bd;
/* rgb */ color: rgb(172, 33, 189);
/* oklch */ color: oklch(54.5% 0.237 322.9);
Tailwind
colors: {
  custom: {
    50: '#c970d2',
    500: '#ac21bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac21bd;
$custom-light: #c970d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac21bd",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 293.462,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.545,
    "c": 0.23658,
    "h": 322.9
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#AC21BD
secondary
#77CD6D
accent
#ED3B4E
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC21BD

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

Preview Lab → · Contrast checker → · Palette generator →

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