#AD229D#AD229D

#AD229D is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.213 H 333.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AD229D
RGBrgb(173, 34, 157)
HSLhsl(307, 67%, 41%)
HSVhsv(307, 80%, 68%)
CMYKcmyk(0%, 80.3%, 9.2%, 32.2%)
CIE-LABlab(41.95, 65.79, -34.49)
CIE-LCHlch(41.95, 74.28, 332.33°)
OKLaboklab(52.79% 0.1907 -0.0947)
OKLCHoklch(52.79% 0.213 333.6)
XYZxyz(23.8916, 12.4647, 33.0394)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD229D #22AD32
analogous
#7722AD #AD229D #AD2258
triadic
#AD229D #9DAD22 #229DAD
tetradic
#AD229D #AD7722 #22AD32 #2258AD
square
#AD229D #AD7722 #22AD32 #2258AD
split-complementary
#AD229D #58AD22 #22AD77
monochromatic
#470E40 #7A186F #AD229D #D735C5 #E168D3

Accessibility & contrast

On white

6.01
#AD229D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AD229D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD229D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD229D#FFFFFF#000000##FFFFFF
##AD229D1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C56A0
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#B5325F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad229d;
/* rgb */ color: rgb(173, 34, 157);
/* oklch */ color: oklch(52.8% 0.213 333.6);
Tailwind
colors: {
  custom: {
    50: '#ca6fba',
    500: '#ad229d',
    950: '#000000',
  },
}
SCSS
$custom: #ad229d;
$custom-light: #ca6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#ad229d",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 306.906,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.21291,
    "h": 333.6
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#AD229D
secondary
#64C76F
accent
#EA523E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD229D

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

Preview Lab → · Contrast checker → · Palette generator →

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