#9D2C8E#9D2C8E

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

Color values

HEX#9D2C8E
RGBrgb(157, 44, 142)
HSLhsl(308, 56%, 39%)
HSVhsv(308, 72%, 62%)
CMYKcmyk(0%, 72%, 9.6%, 38.4%)
CIE-LABlab(39.45, 56.82, -29.51)
CIE-LCHlch(39.45, 64.03, 332.56°)
OKLaboklab(50.22% 0.1647 -0.0808)
OKLCHoklch(50.22% 0.183 333.9)
XYZxyz(19.6879, 10.9241, 26.6576)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C8E #2C9D3B
analogous
#742C9D #9D2C8E #9D2C55
triadic
#9D2C8E #8E9D2C #2C8E9D
tetradic
#9D2C8E #9D742C #2C9D3B #2C559D
square
#9D2C8E #9D742C #2C9D3B #2C559D
split-complementary
#9D2C8E #559D2C #2C9D74
monochromatic
#3D1138 #6D1F63 #9D2C8E #C93DB6 #D66DC8

Accessibility & contrast

On white

6.59
#9D2C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2C8E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C8E#FFFFFF#000000##FFFFFF
##9D2C8E1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A4365A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2c8e;
/* rgb */ color: rgb(157, 44, 142);
/* oklch */ color: oklch(50.2% 0.183 333.9);
Tailwind
colors: {
  custom: {
    50: '#bd70af',
    500: '#9d2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c8e;
$custom-light: #bd70af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c8e",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 307.965,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.18341,
    "h": 333.9
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#9D2C8E
secondary
#68BD73
accent
#E05C48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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