#9B3299#9B3299

#9B3299 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.184 H 328.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9B3299
RGBrgb(155, 50, 153)
HSLhsl(301, 51%, 40%)
HSVhsv(301, 68%, 61%)
CMYKcmyk(0%, 67.7%, 1.3%, 39.2%)
CIE-LABlab(40.49, 55.90, -34.57)
CIE-LCHlch(40.49, 65.72, 328.26°)
OKLaboklab(51.1% 0.1567 -0.0955)
OKLCHoklch(51.1% 0.184 328.6)
XYZxyz(20.4077, 11.5511, 31.2855)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3299 #329B34
analogous
#69329B #9B3299 #9B3264
triadic
#9B3299 #999B32 #32999B
tetradic
#9B3299 #9B6932 #329B34 #32649B
square
#9B3299 #9B6932 #329B34 #32649B
split-complementary
#9B3299 #649B32 #329B69
monochromatic
#3E143E #6D236B #9B3299 #C447C1 #D275D1

Accessibility & contrast

On white

6.34
#9B3299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9B3299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3299
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3299#FFFFFF#000000##FFFFFF
##9B32991.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#4E6496
Tritanopia (blue-blind)
#A04061
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b3299;
/* rgb */ color: rgb(155, 50, 153);
/* oklch */ color: oklch(51.1% 0.184 328.6);
Tailwind
colors: {
  custom: {
    50: '#bc73b7',
    500: '#9b3299',
    950: '#000000',
  },
}
SCSS
$custom: #9b3299;
$custom-light: #bc73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3299",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 301.143,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.18351,
    "h": 328.6
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#9B3299
secondary
#6EBB70
accent
#DB504D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9B3299

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

Preview Lab → · Contrast checker → · Palette generator →

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