#9B2BBA#9B2BBA

#9B2BBA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.219 H 317.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9B2BBA
RGBrgb(155, 43, 186)
HSLhsl(287, 62%, 45%)
HSVhsv(287, 77%, 73%)
CMYKcmyk(16.7%, 76.9%, 0%, 27.1%)
CIE-LABlab(41.60, 64.40, -52.46)
CIE-LCHlch(41.60, 83.07, 320.83°)
OKLaboklab(52.52% 0.162 -0.1476)
OKLCHoklch(52.52% 0.219 317.7)
XYZxyz(23.2431, 12.2425, 47.5836)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2BBA #4ABA2B
analogous
#542BBA #9B2BBA #BA2B91
triadic
#9B2BBA #BA9B2B #2BBA9B
tetradic
#9B2BBA #BA542B #4ABA2B #2B91BA
square
#9B2BBA #BA542B #4ABA2B #2B91BA
split-complementary
#9B2BBA #91BA2B #2BBA54
monochromatic
#481457 #722088 #9B2BBA #B84CD6 #CC7EE1

Accessibility & contrast

On white

6.09
#9B2BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9B2BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2BBA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2BBA#FFFFFF#000000##FFFFFF
##9B2BBA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#3065B7
Tritanopia (blue-blind)
#9A4A72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2bba;
/* rgb */ color: rgb(155, 43, 186);
/* oklch */ color: oklch(52.5% 0.219 317.7);
Tailwind
colors: {
  custom: {
    50: '#bd71cf',
    500: '#9b2bba',
    950: '#000000',
  },
}
SCSS
$custom: #9b2bba;
$custom-light: #bd71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2bba",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 286.993,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52523,
    "c": 0.21917,
    "h": 317.7
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#9B2BBA
secondary
#89CA77
accent
#E64266
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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