#9B2BB1#9B2BB1

#9B2BB1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.212 H 320.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9B2BB1
RGBrgb(155, 43, 177)
HSLhsl(290, 61%, 43%)
HSVhsv(290, 76%, 69%)
CMYKcmyk(12.4%, 75.7%, 0%, 30.6%)
CIE-LABlab(41.01, 62.72, -48.10)
CIE-LCHlch(41.01, 79.04, 322.52°)
OKLaboklab(51.92% 0.163 -0.1348)
OKLCHoklch(51.92% 0.212 320.4)
XYZxyz(22.3163, 11.8718, 42.7025)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BB1 #41B12B
analogous
#582BB1 #9B2BB1 #B12B84
triadic
#9B2BB1 #B19B2B #2BB19B
tetradic
#9B2BB1 #B1582B #41B12B #2B84B1
square
#9B2BB1 #B1582B #41B12B #2B84B1
split-complementary
#9B2BB1 #84B12B #2BB158
monochromatic
#45134F #701F80 #9B2BB1 #BB47D2 #CD78DE

Accessibility & contrast

On white

6.22
#9B2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9B2BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BB1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BB1#FFFFFF#000000##FFFFFF
##9B2BB11.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3965AE
Tritanopia (blue-blind)
#9C466D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2bb1;
/* rgb */ color: rgb(155, 43, 177);
/* oklch */ color: oklch(51.9% 0.212 320.4);
Tailwind
colors: {
  custom: {
    50: '#bc71c9',
    500: '#9b2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bb1;
$custom-light: #bc71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bb1",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 290.149,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.21158,
    "h": 320.4
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

primary
#9B2BB1
secondary
#80C672
accent
#E4445E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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