#9B2196#9B2196

#9B2196 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 330.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9B2196
RGBrgb(155, 33, 150)
HSLhsl(302, 65%, 37%)
HSVhsv(302, 79%, 61%)
CMYKcmyk(0%, 78.7%, 3.2%, 39.2%)
CIE-LABlab(38.30, 61.16, -36.22)
CIE-LCHlch(38.30, 71.08, 329.36°)
OKLaboklab(49.47% 0.1731 -0.1001)
OKLCHoklch(49.47% 0.2 330)
XYZxyz(19.5664, 10.2598, 29.7981)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2196 #219B26
analogous
#63219B #9B2196 #9B2159
triadic
#9B2196 #969B21 #21969B
tetradic
#9B2196 #9B6321 #219B26 #21599B
square
#9B2196 #9B6321 #219B26 #21599B
split-complementary
#9B2196 #599B21 #219B63
monochromatic
#360C34 #691665 #9B2196 #CD2CC7 #DC5AD7

Accessibility & contrast

On white

6.88
#9B2196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B2196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2196
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2196#FFFFFF#000000##FFFFFF
##9B21961.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5099
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A1335B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2196;
/* rgb */ color: rgb(155, 33, 150);
/* oklch */ color: oklch(49.5% 0.200 330.0);
Tailwind
colors: {
  custom: {
    50: '#bc6cb5',
    500: '#9b2196',
    950: '#000000',
  },
}
SCSS
$custom: #9b2196;
$custom-light: #bc6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2196",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 302.459,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.19997,
    "h": 330
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#9B2196
secondary
#58C05C
accent
#E84740
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2196

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

Preview Lab → · Contrast checker → · Palette generator →

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