#AC21BC#AC21BC

#AC21BC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.4% C 0.236 H 323.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AC21BC
RGBrgb(172, 33, 188)
HSLhsl(294, 70%, 43%)
HSVhsv(294, 82%, 74%)
CMYKcmyk(8.5%, 82.4%, 0%, 26.3%)
CIE-LABlab(43.49, 70.75, -50.45)
CIE-LCHlch(43.49, 86.89, 324.51°)
OKLaboklab(54.44% 0.1889 -0.1411)
OKLCHoklch(54.44% 0.236 323.2)
XYZxyz(26.6334, 13.4909, 48.7684)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC21BC #31BC21
analogous
#5E21BC #AC21BC #BC217F
triadic
#AC21BC #BCAC21 #21BCAC
tetradic
#AC21BC #BC5E21 #31BC21 #217FBC
square
#AC21BC #BC5E21 #31BC21 #217FBC
split-complementary
#AC21BC #7FBC21 #21BC5E
monochromatic
#4D0F54 #7C1888 #AC21BC #CC3DDD #DA71E6

Accessibility & contrast

On white

5.68
#AC21BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AC21BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC21BC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC21BC#FFFFFF#000000##FFFFFF
##AC21BC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#AF4371
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac21bc;
/* rgb */ color: rgb(172, 33, 188);
/* oklch */ color: oklch(54.4% 0.236 323.2);
Tailwind
colors: {
  custom: {
    50: '#c970d1',
    500: '#ac21bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac21bc;
$custom-light: #c970d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac21bc",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 293.806,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54435,
    "c": 0.23582,
    "h": 323.2
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#AC21BC
secondary
#76CD6C
accent
#ED3B4D
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC21BC

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

Preview Lab → · Contrast checker → · Palette generator →

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