#AC21B0#AC21B0

#AC21B0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.227 H 326.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC21B0
RGBrgb(172, 33, 176)
HSLhsl(298, 68%, 41%)
HSVhsv(298, 81%, 69%)
CMYKcmyk(2.3%, 81.3%, 0%, 31%)
CIE-LABlab(42.76, 68.77, -44.56)
CIE-LCHlch(42.76, 81.95, 327.06°)
OKLaboklab(53.68% 0.19 -0.1239)
OKLCHoklch(53.68% 0.227 326.9)
XYZxyz(25.3932, 12.9948, 42.2367)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC21B0 #25B021
analogous
#6421B0 #AC21B0 #B0216C
triadic
#AC21B0 #B0AC21 #21B0AC
tetradic
#AC21B0 #B06421 #25B021 #216CB0
square
#AC21B0 #B06421 #25B021 #216CB0
split-complementary
#AC21B0 #6CB021 #21B064
monochromatic
#470E49 #7A177C #AC21B0 #D535D9 #DF69E3

Accessibility & contrast

On white

5.84
#AC21B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC21B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC21B0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC21B0#FFFFFF#000000##FFFFFF
##AC21B01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#B13C6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac21b0;
/* rgb */ color: rgb(172, 33, 176);
/* oklch */ color: oklch(53.7% 0.227 326.9);
Tailwind
colors: {
  custom: {
    50: '#c96fc8',
    500: '#ac21b0',
    950: '#000000',
  },
}
SCSS
$custom: #ac21b0;
$custom-light: #c96fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac21b0",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 298.322,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.22687,
    "h": 326.9
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#AC21B0
secondary
#67C864
accent
#EB3D41
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC21B0

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

Preview Lab → · Contrast checker → · Palette generator →

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