#9B2BB7#9B2BB7

#9B2BB7 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.217 H 318.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9B2BB7
RGBrgb(155, 43, 183)
HSLhsl(288, 62%, 44%)
HSVhsv(288, 77%, 72%)
CMYKcmyk(15.3%, 76.5%, 0%, 28.2%)
CIE-LABlab(41.40, 63.83, -51.02)
CIE-LCHlch(41.40, 81.72, 321.37°)
OKLaboklab(52.32% 0.1624 -0.1434)
OKLCHoklch(52.32% 0.217 318.6)
XYZxyz(22.9275, 12.1163, 45.9216)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BB7 #47B72B
analogous
#552BB7 #9B2BB7 #B72B8D
triadic
#9B2BB7 #B79B2B #2BB79B
tetradic
#9B2BB7 #B7552B #47B72B #2B8DB7
square
#9B2BB7 #B7552B #47B72B #2B8DB7
split-complementary
#9B2BB7 #8DB72B #2BB755
monochromatic
#471454 #711F85 #9B2BB7 #B94BD5 #CC7CE0

Accessibility & contrast

On white

6.13
#9B2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9B2BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BB7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BB7#FFFFFF#000000##FFFFFF
##9B2BB71.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#9A4970
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2bb7;
/* rgb */ color: rgb(155, 43, 183);
/* oklch */ color: oklch(52.3% 0.217 318.6);
Tailwind
colors: {
  custom: {
    50: '#bd71cd',
    500: '#9b2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bb7;
$custom-light: #bd71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bb7",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 288,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.21663,
    "h": 318.6
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#9B2BB7
secondary
#86C975
accent
#E54363
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9B2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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