#9B2B8D#9B2B8D

#9B2B8D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.183 H 333.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9B2B8D
RGBrgb(155, 43, 141)
HSLhsl(308, 57%, 39%)
HSVhsv(308, 72%, 61%)
CMYKcmyk(0%, 72.3%, 9%, 39.2%)
CIE-LABlab(38.93, 56.53, -29.74)
CIE-LCHlch(38.93, 63.88, 332.26°)
OKLaboklab(49.77% 0.1635 -0.0815)
OKLCHoklch(49.77% 0.183 333.5)
XYZxyz(19.1893, 10.6210, 26.2335)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B8D #2B9B39
analogous
#712B9B #9B2B8D #9B2B55
triadic
#9B2B8D #8D9B2B #2B8D9B
tetradic
#9B2B8D #9B712B #2B9B39 #2B559B
square
#9B2B8D #9B712B #2B9B39 #2B559B
split-complementary
#9B2B8D #559B2B #2B9B71
monochromatic
#3B1036 #6B1E61 #9B2B8D #C93BB7 #D66BC8

Accessibility & contrast

On white

6.72
#9B2B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9B2B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B8D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B8D#FFFFFF#000000##FFFFFF
##9B2B8D1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#A23559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2b8d;
/* rgb */ color: rgb(155, 43, 141);
/* oklch */ color: oklch(49.8% 0.183 333.5);
Tailwind
colors: {
  custom: {
    50: '#bc6fae',
    500: '#9b2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b8d;
$custom-light: #bc6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b8d",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 307.5,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.18269,
    "h": 333.5
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#9B2B8D
secondary
#65BC70
accent
#E05B48
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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