#9C2F95#9C2F95

#9C2F95 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.185 H 330.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9C2F95
RGBrgb(156, 47, 149)
HSLhsl(304, 54%, 40%)
HSVhsv(304, 70%, 61%)
CMYKcmyk(0%, 69.9%, 4.5%, 38.8%)
CIE-LABlab(40.04, 56.61, -32.86)
CIE-LCHlch(40.04, 65.46, 329.86°)
OKLaboklab(50.73% 0.1609 -0.0905)
OKLCHoklch(50.73% 0.185 330.6)
XYZxyz(20.1516, 11.2724, 29.5424)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F95 #2F9C36
analogous
#6C2F9C #9C2F95 #9C2F5F
triadic
#9C2F95 #959C2F #2F959C
tetradic
#9C2F95 #9C6C2F #2F9C36 #2F5F9C
square
#9C2F95 #9C6C2F #2F9C36 #2F5F9C
split-complementary
#9C2F95 #5F9C2F #2F9C6C
monochromatic
#3E133B #6D2168 #9C2F95 #C642BE #D471CE

Accessibility & contrast

On white

6.45
#9C2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9C2F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F95
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F95#FFFFFF#000000##FFFFFF
##9C2F951.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A23C5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2f95;
/* rgb */ color: rgb(156, 47, 149);
/* oklch */ color: oklch(50.7% 0.185 330.6);
Tailwind
colors: {
  custom: {
    50: '#bc72b4',
    500: '#9c2f95',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f95;
$custom-light: #bc72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f95",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 303.853,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.18459,
    "h": 330.6
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#9C2F95
secondary
#6BBC70
accent
#DD544B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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