#9B2BB2#9B2BB2

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

Color values

HEX#9B2BB2
RGBrgb(155, 43, 178)
HSLhsl(290, 61%, 43%)
HSVhsv(290, 76%, 70%)
CMYKcmyk(12.9%, 75.8%, 0%, 30.2%)
CIE-LABlab(41.08, 62.90, -48.59)
CIE-LCHlch(41.08, 79.48, 322.32°)
OKLaboklab(51.99% 0.1629 -0.1363)
OKLCHoklch(51.99% 0.212 320.1)
XYZxyz(22.4163, 11.9118, 43.2293)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BB2 #42B22B
analogous
#572BB2 #9B2BB2 #B22B85
triadic
#9B2BB2 #B29B2B #2BB29B
tetradic
#9B2BB2 #B2572B #42B22B #2B85B2
square
#9B2BB2 #B2572B #42B22B #2B85B2
split-complementary
#9B2BB2 #85B22B #2BB257
monochromatic
#45134F #701F81 #9B2BB2 #BB48D3 #CD79DF

Accessibility & contrast

On white

6.21
#9B2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9B2BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BB2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BB2#FFFFFF#000000##FFFFFF
##9B2BB21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#9B476D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2bb2;
/* rgb */ color: rgb(155, 43, 178);
/* oklch */ color: oklch(52.0% 0.212 320.1);
Tailwind
colors: {
  custom: {
    50: '#bc71ca',
    500: '#9b2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bb2;
$custom-light: #bc71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bb2",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 289.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.21242,
    "h": 320.1
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#9B2BB2
secondary
#81C772
accent
#E4445F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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