#9C3095#9C3095

#9C3095 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.183 H 330.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9C3095
RGBrgb(156, 48, 149)
HSLhsl(304, 53%, 40%)
HSVhsv(304, 69%, 61%)
CMYKcmyk(0%, 69.2%, 4.5%, 38.8%)
CIE-LABlab(40.17, 56.23, -32.65)
CIE-LCHlch(40.17, 65.03, 329.86°)
OKLaboklab(50.82% 0.1598 -0.0899)
OKLCHoklch(50.82% 0.183 330.6)
XYZxyz(20.1920, 11.3533, 29.5559)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3095 #309C37
analogous
#6D309C #9C3095 #9C305F
triadic
#9C3095 #959C30 #30959C
tetradic
#9C3095 #9C6D30 #309C37 #305F9C
square
#9C3095 #9C6D30 #309C37 #305F9C
split-complementary
#9C3095 #5F9C30 #309C6D
monochromatic
#3E133C #6D2268 #9C3095 #C544BD #D473CD

Accessibility & contrast

On white

6.42
#9C3095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9C3095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3095
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3095#FFFFFF#000000##FFFFFF
##9C30951.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A23C5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c3095;
/* rgb */ color: rgb(156, 48, 149);
/* oklch */ color: oklch(50.8% 0.183 330.6);
Tailwind
colors: {
  custom: {
    50: '#bc72b4',
    500: '#9c3095',
    950: '#000000',
  },
}
SCSS
$custom: #9c3095;
$custom-light: #bc72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3095",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 303.889,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.18336,
    "h": 330.6
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#9C3095
secondary
#6CBC71
accent
#DC554B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C3095

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

Preview Lab → · Contrast checker → · Palette generator →

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