#AD1F9A#AD1F9A

#AD1F9A is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 334.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AD1F9A
RGBrgb(173, 31, 154)
HSLhsl(308, 70%, 40%)
HSVhsv(308, 82%, 68%)
CMYKcmyk(0%, 82.1%, 11%, 32.2%)
CIE-LABlab(41.53, 66.09, -33.33)
CIE-LCHlch(41.53, 74.02, 333.23°)
OKLaboklab(52.44% 0.1928 -0.0914)
OKLCHoklch(52.44% 0.213 334.6)
XYZxyz(23.5566, 12.1995, 31.6797)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F9A #1FAD32
analogous
#791FAD #AD1F9A #AD1F53
triadic
#AD1F9A #9AAD1F #1F9AAD
tetradic
#AD1F9A #AD791F #1FAD32 #1F53AD
square
#AD1F9A #AD791F #1FAD32 #1F53AD
split-complementary
#AD1F9A #53AD1F #1FAD79
monochromatic
#450C3E #79166C #AD1F9A #DA2FC3 #E363D2

Accessibility & contrast

On white

6.11
#AD1F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AD1F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F9A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F9A#FFFFFF#000000##FFFFFF
##AD1F9A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559D
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#B62E5D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad1f9a;
/* rgb */ color: rgb(173, 31, 154);
/* oklch */ color: oklch(52.4% 0.213 334.6);
Tailwind
colors: {
  custom: {
    50: '#ca6eb8',
    500: '#ad1f9a',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f9a;
$custom-light: #ca6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f9a",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 308.028,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.21331,
    "h": 334.6
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#AD1F9A
secondary
#60C86E
accent
#EC533B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD1F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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