#9C2D8D#9C2D8D

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

Color values

HEX#9C2D8D
RGBrgb(156, 45, 141)
HSLhsl(308, 55%, 39%)
HSVhsv(308, 71%, 61%)
CMYKcmyk(0%, 71.2%, 9.6%, 38.8%)
CIE-LABlab(39.36, 56.06, -29.06)
CIE-LCHlch(39.36, 63.14, 332.60°)
OKLaboklab(50.11% 0.1625 -0.0795)
OKLCHoklch(50.11% 0.181 333.9)
XYZxyz(19.4566, 10.8694, 26.2674)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D8D #2D9C3C
analogous
#742D9C #9C2D8D #9C2D56
triadic
#9C2D8D #8D9C2D #2D8D9C
tetradic
#9C2D8D #9C742D #2D9C3C #2D569C
square
#9C2D8D #9C742D #2D9C3C #2D569C
split-complementary
#9C2D8D #569C2D #2D9C74
monochromatic
#3D1237 #6D1F62 #9C2D8D #C83FB5 #D56EC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2D8D#FFFFFF#000000##FFFFFF
##9C2D8D1.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)
#2B5290
Deuteranopia (green-blind)
#52628A
Tritanopia (blue-blind)
#A33759
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2d8d;
/* rgb */ color: rgb(156, 45, 141);
/* oklch */ color: oklch(50.1% 0.181 333.9);
Tailwind
colors: {
  custom: {
    50: '#bd70ae',
    500: '#9c2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d8d;
$custom-light: #bd70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d8d",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 308.108,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50105,
    "c": 0.18087,
    "h": 333.9
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#9C2D8D
secondary
#68BC74
accent
#DF5D49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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