#AD2097#AD2097

#AD2097 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.210 H 335.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AD2097
RGBrgb(173, 32, 151)
HSLhsl(309, 69%, 40%)
HSVhsv(309, 82%, 68%)
CMYKcmyk(0%, 81.5%, 12.7%, 32.2%)
CIE-LABlab(41.46, 65.42, -31.63)
CIE-LCHlch(41.46, 72.67, 334.19°)
OKLaboklab(52.34% 0.1919 -0.0865)
OKLCHoklch(52.34% 0.21 335.7)
XYZxyz(23.3364, 12.1538, 30.3891)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2097 #20AD36
analogous
#7D20AD #AD2097 #AD2050
triadic
#AD2097 #97AD20 #2097AD
tetradic
#AD2097 #AD7D20 #20AD36 #2050AD
square
#AD2097 #AD7D20 #20AD36 #2050AD
split-complementary
#AD2097 #50AD20 #20AD7D
monochromatic
#460D3D #79166A #AD2097 #D931BF #E265CF

Accessibility & contrast

On white

6.12
#AD2097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AD2097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2097
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2097#FFFFFF#000000##FFFFFF
##AD20971.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559A
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#B62D5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad2097;
/* rgb */ color: rgb(173, 32, 151);
/* oklch */ color: oklch(52.3% 0.210 335.7);
Tailwind
colors: {
  custom: {
    50: '#ca6eb6',
    500: '#ad2097',
    950: '#000000',
  },
}
SCSS
$custom: #ad2097;
$custom-light: #ca6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2097",
  "rgb": {
    "r": 173,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 309.362,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.21048,
    "h": 335.7
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#AD2097
secondary
#61C871
accent
#EC583C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD2097

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

Preview Lab → · Contrast checker → · Palette generator →

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