#AC22BD#AC22BD

#AC22BD is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.6% C 0.236 H 322.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AC22BD
RGBrgb(172, 34, 189)
HSLhsl(293, 70%, 44%)
HSVhsv(293, 82%, 74%)
CMYKcmyk(9%, 82%, 0%, 25.9%)
CIE-LABlab(43.64, 70.68, -50.80)
CIE-LCHlch(43.64, 87.04, 324.29°)
OKLaboklab(54.56% 0.1881 -0.1422)
OKLCHoklch(54.56% 0.236 322.9)
XYZxyz(26.7697, 13.5905, 49.3475)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22BD #33BD22
analogous
#5E22BD #AC22BD #BD2280
triadic
#AC22BD #BDAC22 #22BDAC
tetradic
#AC22BD #BD5E22 #33BD22 #2280BD
square
#AC22BD #BD5E22 #33BD22 #2280BD
split-complementary
#AC22BD #80BD22 #22BD5E
monochromatic
#4E0F55 #7D1989 #AC22BD #CB40DD #D973E6

Accessibility & contrast

On white

5.65
#AC22BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AC22BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22BD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22BD#FFFFFF#000000##FFFFFF
##AC22BD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac22bd;
/* rgb */ color: rgb(172, 34, 189);
/* oklch */ color: oklch(54.6% 0.236 322.9);
Tailwind
colors: {
  custom: {
    50: '#c970d2',
    500: '#ac22bd',
    950: '#000000',
  },
}
SCSS
$custom: #ac22bd;
$custom-light: #c970d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22bd",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 293.419,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.23582,
    "h": 322.9
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#AC22BD
secondary
#78CD6E
accent
#EC3B4F
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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