#9B2F96#9B2F96

#9B2F96 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.185 H 329.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9B2F96
RGBrgb(155, 47, 150)
HSLhsl(303, 53%, 40%)
HSVhsv(303, 70%, 61%)
CMYKcmyk(0%, 69.7%, 3.2%, 39.2%)
CIE-LABlab(39.92, 56.54, -33.66)
CIE-LCHlch(39.92, 65.80, 329.23°)
OKLaboklab(50.63% 0.1599 -0.0928)
OKLCHoklch(50.63% 0.185 329.9)
XYZxyz(20.0390, 11.2051, 29.9556)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F96 #2F9B34
analogous
#6A2F9B #9B2F96 #9B2F60
triadic
#9B2F96 #969B2F #2F969B
tetradic
#9B2F96 #9B6A2F #2F9B34 #2F609B
square
#9B2F96 #9B6A2F #2F9B34 #2F609B
split-complementary
#9B2F96 #609B2F #2F9B6A
monochromatic
#3D133B #6C2169 #9B2F96 #C642BF #D471CF

Accessibility & contrast

On white

6.48
#9B2F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9B2F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F96
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F96#FFFFFF#000000##FFFFFF
##9B2F961.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#4E6393
Tritanopia (blue-blind)
#A13C5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2f96;
/* rgb */ color: rgb(155, 47, 150);
/* oklch */ color: oklch(50.6% 0.185 329.9);
Tailwind
colors: {
  custom: {
    50: '#bc71b5',
    500: '#9b2f96',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f96;
$custom-light: #bc71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f96",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 302.778,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.18484,
    "h": 329.9
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#9B2F96
secondary
#6ABB6E
accent
#DD524B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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