#9B2D96#9B2D96

#9B2D96 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.187 H 329.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9B2D96
RGBrgb(155, 45, 150)
HSLhsl(303, 55%, 39%)
HSVhsv(303, 71%, 61%)
CMYKcmyk(0%, 71%, 3.2%, 39.2%)
CIE-LABlab(39.66, 57.28, -34.07)
CIE-LCHlch(39.66, 66.64, 329.25°)
OKLaboklab(50.44% 0.162 -0.094)
OKLCHoklch(50.44% 0.187 329.9)
XYZxyz(19.9609, 11.0488, 29.9296)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D96 #2D9B32
analogous
#692D9B #9B2D96 #9B2D5F
triadic
#9B2D96 #969B2D #2D969B
tetradic
#9B2D96 #9B692D #2D9B32 #2D5F9B
square
#9B2D96 #9B692D #2D9B32 #2D5F9B
split-complementary
#9B2D96 #5F9B2D #2D9B69
monochromatic
#3C113A #6C1F68 #9B2D96 #C73EC1 #D56ED0

Accessibility & contrast

On white

6.54
#9B2D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9B2D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D96
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D96#FFFFFF#000000##FFFFFF
##9B2D961.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A13B5E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2d96;
/* rgb */ color: rgb(155, 45, 150);
/* oklch */ color: oklch(50.4% 0.187 329.9);
Tailwind
colors: {
  custom: {
    50: '#bc71b5',
    500: '#9b2d96',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d96;
$custom-light: #bc71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d96",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 302.727,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.18726,
    "h": 329.9
  },
  "luminance": 0.11047
}

Semantic roles & 50–950 ramp

primary
#9B2D96
secondary
#68BC6C
accent
#DE5049
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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