#AD1F9F#AD1F9F

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

Color values

HEX#AD1F9F
RGBrgb(173, 31, 159)
HSLhsl(306, 70%, 40%)
HSVhsv(306, 82%, 68%)
CMYKcmyk(0%, 82.1%, 8.1%, 32.2%)
CIE-LABlab(41.80, 66.82, -35.93)
CIE-LCHlch(41.80, 75.87, 331.74°)
OKLaboklab(52.72% 0.1929 -0.0988)
OKLCHoklch(52.72% 0.217 332.9)
XYZxyz(23.9817, 12.3695, 33.9187)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F9F #1FAD2D
analogous
#741FAD #AD1F9F #AD1F58
triadic
#AD1F9F #9FAD1F #1F9FAD
tetradic
#AD1F9F #AD741F #1FAD2D #1F58AD
square
#AD1F9F #AD741F #1FAD2D #1F58AD
split-complementary
#AD1F9F #58AD1F #1FAD74
monochromatic
#450C40 #79166F #AD1F9F #DA2FC9 #E363D7

Accessibility & contrast

On white

6.05
#AD1F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AD1F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F9F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F9F#FFFFFF#000000##FFFFFF
##AD1F9F1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1456A2
Deuteranopia (green-blind)
#536A9C
Tritanopia (blue-blind)
#B53160
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad1f9f;
/* rgb */ color: rgb(173, 31, 159);
/* oklch */ color: oklch(52.7% 0.217 332.9);
Tailwind
colors: {
  custom: {
    50: '#ca6ebc',
    500: '#ad1f9f',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f9f;
$custom-light: #ca6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f9f",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 305.915,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.21674,
    "h": 332.9
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#AD1F9F
secondary
#60C86A
accent
#EC4D3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD1F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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