#AD2F9C#AD2F9C

#AD2F9C is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.7% C 0.199 H 334.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AD2F9C
RGBrgb(173, 47, 156)
HSLhsl(308, 57%, 43%)
HSVhsv(308, 73%, 68%)
CMYKcmyk(0%, 72.8%, 9.8%, 32.2%)
CIE-LABlab(43.24, 61.78, -31.85)
CIE-LCHlch(43.24, 69.51, 332.73°)
OKLaboklab(53.7% 0.1793 -0.0872)
OKLCHoklch(53.7% 0.199 334.1)
XYZxyz(24.2511, 13.3196, 32.7398)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F9C #2FAD40
analogous
#7F2FAD #AD2F9C #AD2F5D
triadic
#AD2F9C #9CAD2F #2F9CAD
tetradic
#AD2F9C #AD7F2F #2FAD40 #2F5DAD
square
#AD2F9C #AD7F2F #2FAD40 #2F5DAD
split-complementary
#AD2F9C #5DAD2F #2FAD7F
monochromatic
#4D1545 #7D2271 #AD2F9C #CE4BBC #DB7BCE

Accessibility & contrast

On white

5.73
#AD2F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AD2F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F9C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F9C#FFFFFF#000000##FFFFFF
##AD2F9C1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#5A6D99
Tritanopia (blue-blind)
#B53A62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ad2f9c;
/* rgb */ color: rgb(173, 47, 156);
/* oklch */ color: oklch(53.7% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#c974b9',
    500: '#ad2f9c',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f9c;
$custom-light: #c974b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f9c",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 308.095,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.19935,
    "h": 334.1
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#AD2F9C
secondary
#74C47F
accent
#E15C47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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