#9D2C8B#9D2C8B

#9D2C8B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.181 H 335.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9D2C8B
RGBrgb(157, 44, 139)
HSLhsl(310, 56%, 39%)
HSVhsv(310, 72%, 62%)
CMYKcmyk(0%, 72%, 11.5%, 38.4%)
CIE-LABlab(39.30, 56.35, -27.91)
CIE-LCHlch(39.30, 62.89, 333.65°)
OKLaboklab(50.06% 0.1644 -0.0762)
OKLCHoklch(50.06% 0.181 335.1)
XYZxyz(19.4657, 10.8352, 25.4873)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C8B #2C9D3E
analogous
#772C9D #9D2C8B #9D2C52
triadic
#9D2C8B #8B9D2C #2C8B9D
tetradic
#9D2C8B #9D772C #2C9D3E #2C529D
square
#9D2C8B #9D772C #2C9D3E #2C529D
split-complementary
#9D2C8B #529D2C #2C9D77
monochromatic
#3D1136 #6D1F61 #9D2C8B #C93DB3 #D66DC5

Accessibility & contrast

On white

6.63
#9D2C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2C8B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C8B#FFFFFF#000000##FFFFFF
##9D2C8B1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2c8b;
/* rgb */ color: rgb(157, 44, 139);
/* oklch */ color: oklch(50.1% 0.181 335.1);
Tailwind
colors: {
  custom: {
    50: '#bd70ad',
    500: '#9d2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c8b;
$custom-light: #bd70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c8b",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 309.558,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50063,
    "c": 0.18118,
    "h": 335.1
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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