#9D2C8D#9D2C8D

#9D2C8D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.183 H 334.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9D2C8D
RGBrgb(157, 44, 141)
HSLhsl(308, 56%, 39%)
HSVhsv(308, 72%, 62%)
CMYKcmyk(0%, 72%, 10.2%, 38.4%)
CIE-LABlab(39.40, 56.66, -28.98)
CIE-LCHlch(39.40, 63.64, 332.92°)
OKLaboklab(50.17% 0.1646 -0.0793)
OKLCHoklch(50.17% 0.183 334.3)
XYZxyz(19.6132, 10.8942, 26.2640)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C8D #2C9D3C
analogous
#752C9D #9D2C8D #9D2C54
triadic
#9D2C8D #8D9D2C #2C8D9D
tetradic
#9D2C8D #9D752C #2C9D3C #2C549D
square
#9D2C8D #9D752C #2C9D3C #2C549D
split-complementary
#9D2C8D #549D2C #2C9D75
monochromatic
#3D1137 #6D1F62 #9D2C8D #C93DB5 #D66DC7

Accessibility & contrast

On white

6.61
#9D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9D2C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C8D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C8D#FFFFFF#000000##FFFFFF
##9D2C8D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#A53659
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2c8d;
/* rgb */ color: rgb(157, 44, 141);
/* oklch */ color: oklch(50.2% 0.183 334.3);
Tailwind
colors: {
  custom: {
    50: '#bd70ae',
    500: '#9d2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c8d;
$custom-light: #bd70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c8d",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 308.496,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.18266,
    "h": 334.3
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#9D2C8D
secondary
#68BD74
accent
#E05E48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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