#9B2BC2#9B2BC2

#9B2BC2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.226 H 315.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9B2BC2
RGBrgb(155, 43, 194)
HSLhsl(285, 64%, 46%)
HSVhsv(285, 78%, 76%)
CMYKcmyk(20.1%, 77.8%, 0%, 23.9%)
CIE-LABlab(42.14, 65.93, -56.27)
CIE-LCHlch(42.14, 86.68, 319.52°)
OKLaboklab(53.08% 0.1608 -0.1588)
OKLCHoklch(53.08% 0.226 315.3)
XYZxyz(24.1175, 12.5923, 52.1886)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BC2 #52C22B
analogous
#4F2BC2 #9B2BC2 #C22B9E
triadic
#9B2BC2 #C29B2B #2BC29B
tetradic
#9B2BC2 #C24F2B #52C22B #2B9EC2
square
#9B2BC2 #C24F2B #52C22B #2B9EC2
split-complementary
#9B2BC2 #9EC22B #2BC24F
monochromatic
#4B155E #732090 #9B2BC2 #B652D9 #CB84E4

Accessibility & contrast

On white

5.97
#9B2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9B2BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BC2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BC2#FFFFFF#000000##FFFFFF
##9B2BC21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#984E76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2bc2;
/* rgb */ color: rgb(155, 43, 194);
/* oklch */ color: oklch(53.1% 0.226 315.3);
Tailwind
colors: {
  custom: {
    50: '#bd72d5',
    500: '#9b2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bc2;
$custom-light: #bd72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bc2",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 284.503,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53078,
    "c": 0.22598,
    "h": 315.3
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#9B2BC2
secondary
#91CD7C
accent
#E7416C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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