#9B2B91#9B2B91

#9B2B91 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.186 H 331.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9B2B91
RGBrgb(155, 43, 145)
HSLhsl(305, 57%, 39%)
HSVhsv(305, 72%, 61%)
CMYKcmyk(0%, 72.3%, 6.5%, 39.2%)
CIE-LABlab(39.14, 57.17, -31.85)
CIE-LCHlch(39.14, 65.45, 330.88°)
OKLaboklab(49.98% 0.1638 -0.0876)
OKLCHoklch(49.98% 0.186 331.9)
XYZxyz(19.4923, 10.7422, 27.8294)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B91 #2B9B35
analogous
#6D2B9B #9B2B91 #9B2B59
triadic
#9B2B91 #919B2B #2B919B
tetradic
#9B2B91 #9B6D2B #2B9B35 #2B599B
square
#9B2B91 #9B6D2B #2B9B35 #2B599B
split-complementary
#9B2B91 #599B2B #2B9B6D
monochromatic
#3B1037 #6B1E64 #9B2B91 #C93BBC #D66BCC

Accessibility & contrast

On white

6.67
#9B2B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9B2B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B91
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B91#FFFFFF#000000##FFFFFF
##9B2B911.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#4E628E
Tritanopia (blue-blind)
#A2375B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2b91;
/* rgb */ color: rgb(155, 43, 145);
/* oklch */ color: oklch(50.0% 0.186 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc6fb1',
    500: '#9b2b91',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b91;
$custom-light: #bc6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b91",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 305.357,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.18573,
    "h": 331.9
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#9B2B91
secondary
#65BC6D
accent
#E05648
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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