#9C3097#9C3097

#9C3097 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.185 H 329.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9C3097
RGBrgb(156, 48, 151)
HSLhsl(303, 53%, 40%)
HSVhsv(303, 69%, 61%)
CMYKcmyk(0%, 69.2%, 3.2%, 38.8%)
CIE-LABlab(40.28, 56.57, -33.70)
CIE-LCHlch(40.28, 65.84, 329.22°)
OKLaboklab(50.93% 0.1599 -0.0929)
OKLCHoklch(50.93% 0.185 329.8)
XYZxyz(20.3530, 11.4177, 30.4040)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3097 #309C35
analogous
#6B309C #9C3097 #9C3061
triadic
#9C3097 #979C30 #30979C
tetradic
#9C3097 #9C6B30 #309C35 #30619C
square
#9C3097 #9C6B30 #309C35 #30619C
split-complementary
#9C3097 #619C30 #309C6B
monochromatic
#3E133C #6D226A #9C3097 #C544BF #D473CF

Accessibility & contrast

On white

6.40
#9C3097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C3097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3097
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3097#FFFFFF#000000##FFFFFF
##9C30971.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A23D60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c3097;
/* rgb */ color: rgb(156, 48, 151);
/* oklch */ color: oklch(50.9% 0.185 329.8);
Tailwind
colors: {
  custom: {
    50: '#bc72b6',
    500: '#9c3097',
    950: '#000000',
  },
}
SCSS
$custom: #9c3097;
$custom-light: #bc72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3097",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 302.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.18495,
    "h": 329.8
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#9C3097
secondary
#6CBC70
accent
#DC524B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C3097

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

Preview Lab → · Contrast checker → · Palette generator →

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