#9B2B9A#9B2B9A

#9B2B9A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.193 H 328.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9B2B9A
RGBrgb(155, 43, 154)
HSLhsl(301, 57%, 39%)
HSVhsv(301, 72%, 61%)
CMYKcmyk(0%, 72.3%, 0.6%, 39.2%)
CIE-LABlab(39.63, 58.66, -36.54)
CIE-LCHlch(39.63, 69.11, 328.08°)
OKLaboklab(50.49% 0.1641 -0.1011)
OKLCHoklch(50.49% 0.193 328.4)
XYZxyz(20.2140, 11.0309, 31.6301)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B9A #2B9B2C
analogous
#642B9B #9B2B9A #9B2B62
triadic
#9B2B9A #9A9B2B #2B9A9B
tetradic
#9B2B9A #9B642B #2B9B2C #2B629B
square
#9B2B9A #9B642B #2B9B2C #2B629B
split-complementary
#9B2B9A #629B2B #2B9B64
monochromatic
#3B103B #6B1E6A #9B2B9A #C93BC7 #D66BD5

Accessibility & contrast

On white

6.55
#9B2B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9B2B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B9A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B9A#FFFFFF#000000##FFFFFF
##9B2B9A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#A03C60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2b9a;
/* rgb */ color: rgb(155, 43, 154);
/* oklch */ color: oklch(50.5% 0.193 328.4);
Tailwind
colors: {
  custom: {
    50: '#bc70b8',
    500: '#9b2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b9a;
$custom-light: #bc70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b9a",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 300.536,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.19275,
    "h": 328.4
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#9B2B9A
secondary
#65BC66
accent
#E04948
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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