#9B2396#9B2396

#9B2396 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.198 H 329.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9B2396
RGBrgb(155, 35, 150)
HSLhsl(303, 63%, 37%)
HSVhsv(303, 77%, 61%)
CMYKcmyk(0%, 77.4%, 3.2%, 39.2%)
CIE-LABlab(38.51, 60.58, -35.90)
CIE-LCHlch(38.51, 70.42, 329.35°)
OKLaboklab(49.61% 0.1714 -0.0992)
OKLCHoklch(49.61% 0.198 329.9)
XYZxyz(19.6235, 10.3742, 29.8171)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2396 #239B28
analogous
#64239B #9B2396 #9B235A
triadic
#9B2396 #969B23 #23969B
tetradic
#9B2396 #9B6423 #239B28 #235A9B
square
#9B2396 #9B6423 #239B28 #235A9B
split-complementary
#9B2396 #5A9B23 #239B64
monochromatic
#370C35 #691866 #9B2396 #CD2EC6 #DB5ED5

Accessibility & contrast

On white

6.83
#9B2396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B2396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2396
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2396#FFFFFF#000000##FFFFFF
##9B23961.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105099
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A1345C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2396;
/* rgb */ color: rgb(155, 35, 150);
/* oklch */ color: oklch(49.6% 0.198 329.9);
Tailwind
colors: {
  custom: {
    50: '#bc6cb5',
    500: '#9b2396',
    950: '#000000',
  },
}
SCSS
$custom: #9b2396;
$custom-light: #bc6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2396",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 302.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49615,
    "c": 0.19807,
    "h": 329.9
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#9B2396
secondary
#5ABF5F
accent
#E64842
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2396

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

Preview Lab → · Contrast checker → · Palette generator →

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