#9B2BBC#9B2BBC

#9B2BBC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.221 H 317.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9B2BBC
RGBrgb(155, 43, 188)
HSLhsl(286, 63%, 45%)
HSVhsv(286, 77%, 74%)
CMYKcmyk(17.6%, 77.1%, 0%, 26.3%)
CIE-LABlab(41.73, 64.78, -53.42)
CIE-LCHlch(41.73, 83.97, 320.49°)
OKLaboklab(52.66% 0.1617 -0.1505)
OKLCHoklch(52.66% 0.221 317.1)
XYZxyz(23.4572, 12.3282, 48.7112)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BBC #4CBC2B
analogous
#522BBC #9B2BBC #BC2B94
triadic
#9B2BBC #BC9B2B #2BBC9B
tetradic
#9B2BBC #BC522B #4CBC2B #2B94BC
square
#9B2BBC #BC522B #4CBC2B #2B94BC
split-complementary
#9B2BBC #94BC2B #2BBC52
monochromatic
#491458 #72208A #9B2BBC #B74ED6 #CB80E2

Accessibility & contrast

On white

6.06
#9B2BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9B2BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BBC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BBC#FFFFFF#000000##FFFFFF
##9B2BBC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#994B73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2bbc;
/* rgb */ color: rgb(155, 43, 188);
/* oklch */ color: oklch(52.7% 0.221 317.1);
Tailwind
colors: {
  custom: {
    50: '#bd71d1',
    500: '#9b2bbc',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bbc;
$custom-light: #bd71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bbc",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 286.345,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.22087,
    "h": 317.1
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#9B2BBC
secondary
#8BCB78
accent
#E64267
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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