#AD1E9C#AD1E9C

#AD1E9C is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.215 H 333.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AD1E9C
RGBrgb(173, 30, 156)
HSLhsl(307, 70%, 40%)
HSVhsv(307, 83%, 68%)
CMYKcmyk(0%, 82.7%, 9.8%, 32.2%)
CIE-LABlab(41.56, 66.62, -34.50)
CIE-LCHlch(41.56, 75.02, 332.62°)
OKLaboklab(52.5% 0.1935 -0.0947)
OKLCHoklch(52.5% 0.215 333.9)
XYZxyz(23.6989, 12.2152, 32.5557)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1E9C #1EAD2F
analogous
#771EAD #AD1E9C #AD1E54
triadic
#AD1E9C #9CAD1E #1E9CAD
tetradic
#AD1E9C #AD771E #1EAD2F #1E54AD
square
#AD1E9C #AD771E #1EAD2F #1E54AD
split-complementary
#AD1E9C #54AD1E #1EAD77
monochromatic
#450C3E #79156D #AD1E9C #DB2EC6 #E462D4

Accessibility & contrast

On white

6.10
#AD1E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD1E9C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1E9C#FFFFFF#000000##FFFFFF
##AD1E9C1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#B52F5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad1e9c;
/* rgb */ color: rgb(173, 30, 156);
/* oklch */ color: oklch(52.5% 0.215 333.9);
Tailwind
colors: {
  custom: {
    50: '#ca6eb9',
    500: '#ad1e9c',
    950: '#000000',
  },
}
SCSS
$custom: #ad1e9c;
$custom-light: #ca6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1e9c",
  "rgb": {
    "r": 173,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 307.133,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.21545,
    "h": 333.9
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#AD1E9C
secondary
#5EC86B
accent
#ED503B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD1E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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