#9B3294#9B3294

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

Color values

HEX#9B3294
RGBrgb(155, 50, 148)
HSLhsl(304, 51%, 40%)
HSVhsv(304, 68%, 61%)
CMYKcmyk(0%, 67.7%, 4.5%, 39.2%)
CIE-LABlab(40.23, 55.05, -31.96)
CIE-LCHlch(40.23, 63.65, 329.86°)
OKLaboklab(50.82% 0.1564 -0.0879)
OKLCHoklch(50.82% 0.179 330.7)
XYZxyz(20.0034, 11.3894, 29.1560)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3294 #329B39
analogous
#6D329B #9B3294 #9B325F
triadic
#9B3294 #949B32 #32949B
tetradic
#9B3294 #9B6D32 #329B39 #325F9B
square
#9B3294 #9B6D32 #329B39 #325F9B
split-complementary
#9B3294 #5F9B32 #329B6D
monochromatic
#3E143C #6D2368 #9B3294 #C447BB #D275CC

Accessibility & contrast

On white

6.41
#9B3294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3294
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3294#FFFFFF#000000##FFFFFF
##9B32941.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3294;
/* rgb */ color: rgb(155, 50, 148);
/* oklch */ color: oklch(50.8% 0.179 330.7);
Tailwind
colors: {
  custom: {
    50: '#bc73b4',
    500: '#9b3294',
    950: '#000000',
  },
}
SCSS
$custom: #9b3294;
$custom-light: #bc73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3294",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 304,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.17944,
    "h": 330.7
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#9B3294
secondary
#6EBB73
accent
#DB574D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9B3294

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

Preview Lab → · Contrast checker → · Palette generator →

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