#9B2FB5#9B2FB5

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

Color values

HEX#9B2FB5
RGBrgb(155, 47, 181)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 74%, 71%)
CMYKcmyk(14.4%, 74%, 0%, 29%)
CIE-LABlab(41.75, 62.08, -49.28)
CIE-LCHlch(41.75, 79.26, 321.56°)
OKLaboklab(52.53% 0.159 -0.1383)
OKLCHoklch(52.53% 0.211 319)
XYZxyz(22.8735, 12.3389, 44.8839)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FB5 #49B52F
analogous
#582FB5 #9B2FB5 #B52F8C
triadic
#9B2FB5 #B59B2F #2FB59B
tetradic
#9B2FB5 #B5582F #49B52F #2F8CB5
square
#9B2FB5 #B5582F #49B52F #2F8CB5
split-complementary
#9B2FB5 #8CB52F #2FB558
monochromatic
#481654 #712284 #9B2FB5 #B850D1 #CC80DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2FB5#FFFFFF#000000##FFFFFF
##9B2FB51.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)
#005BB9
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#9B4A70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2fb5;
/* rgb */ color: rgb(155, 47, 181);
/* oklch */ color: oklch(52.5% 0.211 319.0);
Tailwind
colors: {
  custom: {
    50: '#bc73cc',
    500: '#9b2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fb5;
$custom-light: #bc73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fb5",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 288.358,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.21075,
    "h": 319
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#9B2FB5
secondary
#88C779
accent
#E24664
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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