#9B2B95#9B2B95

#9B2B95 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.189 H 330.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9B2B95
RGBrgb(155, 43, 149)
HSLhsl(303, 57%, 39%)
HSVhsv(303, 72%, 61%)
CMYKcmyk(0%, 72.3%, 3.9%, 39.2%)
CIE-LABlab(39.36, 57.82, -33.95)
CIE-LCHlch(39.36, 67.05, 329.58°)
OKLaboklab(50.21% 0.164 -0.0936)
OKLCHoklch(50.21% 0.189 330.3)
XYZxyz(19.8062, 10.8678, 29.4825)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B95 #2B9B31
analogous
#692B9B #9B2B95 #9B2B5D
triadic
#9B2B95 #959B2B #2B959B
tetradic
#9B2B95 #9B692B #2B9B31 #2B5D9B
square
#9B2B95 #9B692B #2B9B31 #2B5D9B
split-complementary
#9B2B95 #5D9B2B #2B9B69
monochromatic
#3B1039 #6B1E67 #9B2B95 #C93BC1 #D66BD0

Accessibility & contrast

On white

6.62
#9B2B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9B2B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B95
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B95#FFFFFF#000000##FFFFFF
##9B2B951.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5398
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#A1395D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2b95;
/* rgb */ color: rgb(155, 43, 149);
/* oklch */ color: oklch(50.2% 0.189 330.3);
Tailwind
colors: {
  custom: {
    50: '#bc70b4',
    500: '#9b2b95',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b95;
$custom-light: #bc70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b95",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 303.214,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.18882,
    "h": 330.3
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#9B2B95
secondary
#65BC6A
accent
#E05048
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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