#9D2D95#9D2D95

#9D2D95 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 331.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9D2D95
RGBrgb(157, 45, 149)
HSLhsl(304, 55%, 40%)
HSVhsv(304, 71%, 62%)
CMYKcmyk(0%, 71.3%, 5.1%, 38.4%)
CIE-LABlab(39.94, 57.58, -33.00)
CIE-LCHlch(39.94, 66.37, 330.19°)
OKLaboklab(50.69% 0.1641 -0.0908)
OKLCHoklch(50.69% 0.188 331)
XYZxyz(20.2678, 11.2164, 29.5254)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D95 #2D9D35
analogous
#6D2D9D #9D2D95 #9D2D5D
triadic
#9D2D95 #959D2D #2D959D
tetradic
#9D2D95 #9D6D2D #2D9D35 #2D5D9D
square
#9D2D95 #9D6D2D #2D9D35 #2D5D9D
split-complementary
#9D2D95 #5D9D2D #2D9D6D
monochromatic
#3E123B #6D1F68 #9D2D95 #C83FBE #D66FCE

Accessibility & contrast

On white

6.48
#9D2D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D2D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2D95
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2D95#FFFFFF#000000##FFFFFF
##9D2D951.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A33A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2d95;
/* rgb */ color: rgb(157, 45, 149);
/* oklch */ color: oklch(50.7% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#bd71b4',
    500: '#9d2d95',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d95;
$custom-light: #bd71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d95",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 304.286,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.18756,
    "h": 331
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#9D2D95
secondary
#69BD6F
accent
#DF5449
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2D95

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

Preview Lab → · Contrast checker → · Palette generator →

#9D2D95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva