#9C2E95#9C2E95

#9C2E95 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.186 H 330.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9C2E95
RGBrgb(156, 46, 149)
HSLhsl(304, 54%, 40%)
HSVhsv(304, 71%, 61%)
CMYKcmyk(0%, 70.5%, 4.5%, 38.8%)
CIE-LABlab(39.90, 56.98, -33.07)
CIE-LCHlch(39.90, 65.88, 329.87°)
OKLaboklab(50.63% 0.162 -0.0911)
OKLCHoklch(50.63% 0.186 330.6)
XYZxyz(20.1120, 11.1934, 29.5292)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E95 #2E9C35
analogous
#6C2E9C #9C2E95 #9C2E5E
triadic
#9C2E95 #959C2E #2E959C
tetradic
#9C2E95 #9C6C2E #2E9C35 #2E5E9C
square
#9C2E95 #9C6C2E #2E9C35 #2E5E9C
split-complementary
#9C2E95 #5E9C2E #2E9C6C
monochromatic
#3D123B #6D2068 #9C2E95 #C740BE #D570CE

Accessibility & contrast

On white

6.48
#9C2E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9C2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E95
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E95#FFFFFF#000000##FFFFFF
##9C2E951.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#4E6392
Tritanopia (blue-blind)
#A23B5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2e95;
/* rgb */ color: rgb(156, 46, 149);
/* oklch */ color: oklch(50.6% 0.186 330.6);
Tailwind
colors: {
  custom: {
    50: '#bd71b4',
    500: '#9c2e95',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e95;
$custom-light: #bd71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e95",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 303.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.18581,
    "h": 330.6
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#9C2E95
secondary
#6ABC6F
accent
#DE534A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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