#9D2C8C#9D2C8C

#9D2C8C is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.182 H 334.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9D2C8C
RGBrgb(157, 44, 140)
HSLhsl(309, 56%, 39%)
HSVhsv(309, 72%, 62%)
CMYKcmyk(0%, 72%, 10.8%, 38.4%)
CIE-LABlab(39.35, 56.51, -28.45)
CIE-LCHlch(39.35, 63.26, 333.28°)
OKLaboklab(50.12% 0.1645 -0.0777)
OKLCHoklch(50.12% 0.182 334.7)
XYZxyz(19.5391, 10.8646, 25.8739)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C8C #2C9D3D
analogous
#762C9D #9D2C8C #9D2C53
triadic
#9D2C8C #8C9D2C #2C8C9D
tetradic
#9D2C8C #9D762C #2C9D3D #2C539D
square
#9D2C8C #9D762C #2C9D3D #2C539D
split-complementary
#9D2C8C #539D2C #2C9D76
monochromatic
#3D1137 #6D1F61 #9D2C8C #C93DB4 #D66DC6

Accessibility & contrast

On white

6.62
#9D2C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D2C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C8C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C8C#FFFFFF#000000##FFFFFF
##9D2C8C1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#536389
Tritanopia (blue-blind)
#A53558
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2c8c;
/* rgb */ color: rgb(157, 44, 140);
/* oklch */ color: oklch(50.1% 0.182 334.7);
Tailwind
colors: {
  custom: {
    50: '#bd70ae',
    500: '#9d2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c8c;
$custom-light: #bd70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c8c",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 309.027,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.18192,
    "h": 334.7
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#9D2C8C
secondary
#68BD75
accent
#E05F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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