#9C3293#9C3293

#9C3293 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.9% C 0.179 H 331.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9C3293
RGBrgb(156, 50, 147)
HSLhsl(305, 51%, 40%)
HSVhsv(305, 68%, 61%)
CMYKcmyk(0%, 67.9%, 5.8%, 38.8%)
CIE-LABlab(40.34, 55.13, -31.17)
CIE-LCHlch(40.34, 63.33, 330.52°)
OKLaboklab(50.91% 0.1574 -0.0856)
OKLCHoklch(50.91% 0.179 331.5)
XYZxyz(20.1173, 11.4572, 28.7500)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3293 #329C3B
analogous
#70329C #9C3293 #9C325E
triadic
#9C3293 #939C32 #32939C
tetradic
#9C3293 #9C7032 #329C3B #325E9C
square
#9C3293 #9C7032 #329C3B #325E9C
split-complementary
#9C3293 #5E9C32 #329C70
monochromatic
#3F143C #6E2367 #9C3293 #C447B9 #D375CB

Accessibility & contrast

On white

6.38
#9C3293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9C3293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3293
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3293#FFFFFF#000000##FFFFFF
##9C32931.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5696
Deuteranopia (green-blind)
#516490
Tritanopia (blue-blind)
#A23D5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c3293;
/* rgb */ color: rgb(156, 50, 147);
/* oklch */ color: oklch(50.9% 0.179 331.5);
Tailwind
colors: {
  custom: {
    50: '#bc73b3',
    500: '#9c3293',
    950: '#000000',
  },
}
SCSS
$custom: #9c3293;
$custom-light: #bc73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3293",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 305.094,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.17922,
    "h": 331.5
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#9C3293
secondary
#6FBB75
accent
#DB594D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3293

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

Preview Lab → · Contrast checker → · Palette generator →

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