#9B2BB5#9B2BB5

#9B2BB5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.215 H 319.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9B2BB5
RGBrgb(155, 43, 181)
HSLhsl(289, 62%, 44%)
HSVhsv(289, 76%, 71%)
CMYKcmyk(14.4%, 76.2%, 0%, 29%)
CIE-LABlab(41.27, 63.46, -50.05)
CIE-LCHlch(41.27, 80.82, 321.74°)
OKLaboklab(52.19% 0.1626 -0.1406)
OKLCHoklch(52.19% 0.215 319.2)
XYZxyz(22.7208, 12.0336, 44.8330)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BB5 #45B52B
analogous
#562BB5 #9B2BB5 #B52B8A
triadic
#9B2BB5 #B59B2B #2BB59B
tetradic
#9B2BB5 #B5562B #45B52B #2B8AB5
square
#9B2BB5 #B5562B #45B52B #2B8AB5
split-complementary
#9B2BB5 #8AB52B #2BB556
monochromatic
#461452 #711F84 #9B2BB5 #BA49D4 #CD7BE0

Accessibility & contrast

On white

6.16
#9B2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9B2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BB5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BB5#FFFFFF#000000##FFFFFF
##9B2BB51.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#9B486F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2bb5;
/* rgb */ color: rgb(155, 43, 181);
/* oklch */ color: oklch(52.2% 0.215 319.2);
Tailwind
colors: {
  custom: {
    50: '#bd71cc',
    500: '#9b2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bb5;
$custom-light: #bd71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bb5",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 288.696,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.21494,
    "h": 319.2
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#9B2BB5
secondary
#84C874
accent
#E54362
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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