#AD219D#AD219D

#AD219D is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.214 H 333.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AD219D
RGBrgb(173, 33, 157)
HSLhsl(307, 68%, 40%)
HSVhsv(307, 81%, 68%)
CMYKcmyk(0%, 80.9%, 9.2%, 32.2%)
CIE-LABlab(41.86, 66.04, -34.63)
CIE-LCHlch(41.86, 74.57, 332.33°)
OKLaboklab(52.73% 0.1914 -0.0951)
OKLCHoklch(52.73% 0.214 333.6)
XYZxyz(23.8635, 12.4084, 33.0300)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD219D #21AD31
analogous
#7721AD #AD219D #AD2157
triadic
#AD219D #9DAD21 #219DAD
tetradic
#AD219D #AD7721 #21AD31 #2157AD
square
#AD219D #AD7721 #21AD31 #2157AD
split-complementary
#AD219D #57AD21 #21AD77
monochromatic
#460D40 #7A176E #AD219D #D833C5 #E266D4

Accessibility & contrast

On white

6.03
#AD219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AD219D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD219D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD219D#FFFFFF#000000##FFFFFF
##AD219D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#546A9A
Tritanopia (blue-blind)
#B5315F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad219d;
/* rgb */ color: rgb(173, 33, 157);
/* oklch */ color: oklch(52.7% 0.214 333.6);
Tailwind
colors: {
  custom: {
    50: '#ca6fba',
    500: '#ad219d',
    950: '#000000',
  },
}
SCSS
$custom: #ad219d;
$custom-light: #ca6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#ad219d",
  "rgb": {
    "r": 173,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 306.857,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.21374,
    "h": 333.6
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#AD219D
secondary
#62C76E
accent
#EB513D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD219D

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

Preview Lab → · Contrast checker → · Palette generator →

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