#9C3294#9C3294

#9C3294 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.180 H 331.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C3294
RGBrgb(156, 50, 148)
HSLhsl(305, 51%, 40%)
HSVhsv(305, 68%, 61%)
CMYKcmyk(0%, 67.9%, 5.1%, 38.8%)
CIE-LABlab(40.39, 55.30, -31.70)
CIE-LCHlch(40.39, 63.74, 330.18°)
OKLaboklab(50.97% 0.1575 -0.0871)
OKLCHoklch(50.97% 0.18 331)
XYZxyz(20.1961, 11.4888, 29.1651)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3294 #329C3A
analogous
#6F329C #9C3294 #9C325F
triadic
#9C3294 #949C32 #32949C
tetradic
#9C3294 #9C6F32 #329C3A #325F9C
square
#9C3294 #9C6F32 #329C3A #325F9C
split-complementary
#9C3294 #5F9C32 #329C6F
monochromatic
#3F143C #6E2368 #9C3294 #C447BB #D375CC

Accessibility & contrast

On white

6.37
#9C3294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9C3294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3294
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3294#FFFFFF#000000##FFFFFF
##9C32941.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5697
Deuteranopia (green-blind)
#516491
Tritanopia (blue-blind)
#A23D5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c3294;
/* rgb */ color: rgb(156, 50, 148);
/* oklch */ color: oklch(51.0% 0.180 331.0);
Tailwind
colors: {
  custom: {
    50: '#bc73b4',
    500: '#9c3294',
    950: '#000000',
  },
}
SCSS
$custom: #9c3294;
$custom-light: #bc73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3294",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 304.528,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.18001,
    "h": 331
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#9C3294
secondary
#6FBB74
accent
#DB584D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3294

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

Preview Lab → · Contrast checker → · Palette generator →

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