#9C2B95#9C2B95

#9C2B95 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 330.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9C2B95
RGBrgb(156, 43, 149)
HSLhsl(304, 57%, 39%)
HSVhsv(304, 72%, 61%)
CMYKcmyk(0%, 72.4%, 4.5%, 38.8%)
CIE-LABlab(39.53, 58.06, -33.67)
CIE-LCHlch(39.53, 67.11, 329.89°)
OKLaboklab(50.36% 0.1651 -0.0928)
OKLCHoklch(50.36% 0.189 330.7)
XYZxyz(19.9989, 10.9672, 29.4915)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B95 #2B9C32
analogous
#6B2B9C #9C2B95 #9C2B5D
triadic
#9C2B95 #959C2B #2B959C
tetradic
#9C2B95 #9C6B2B #2B9C32 #2B5D9C
square
#9C2B95 #9C6B2B #2B9C32 #2B5D9C
split-complementary
#9C2B95 #5D9C2B #2B9C6B
monochromatic
#3C1139 #6C1E67 #9C2B95 #C93BC0 #D66BD0

Accessibility & contrast

On white

6.58
#9C2B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9C2B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B95
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B95#FFFFFF#000000##FFFFFF
##9C2B951.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#4D6392
Tritanopia (blue-blind)
#A2395D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2b95;
/* rgb */ color: rgb(156, 43, 149);
/* oklch */ color: oklch(50.4% 0.189 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd70b4',
    500: '#9c2b95',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b95;
$custom-light: #bd70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b95",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 303.717,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.18934,
    "h": 330.7
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#9C2B95
secondary
#66BD6B
accent
#E05148
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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