#9B2B99#9B2B99

#9B2B99 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.192 H 328.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9B2B99
RGBrgb(155, 43, 153)
HSLhsl(301, 57%, 39%)
HSVhsv(301, 72%, 61%)
CMYKcmyk(0%, 72.3%, 1.3%, 39.2%)
CIE-LABlab(39.58, 58.49, -36.02)
CIE-LCHlch(39.58, 68.69, 328.37°)
OKLaboklab(50.43% 0.1641 -0.0996)
OKLCHoklch(50.43% 0.192 328.7)
XYZxyz(20.1310, 10.9977, 31.1933)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B99 #2B9B2D
analogous
#652B9B #9B2B99 #9B2B61
triadic
#9B2B99 #999B2B #2B999B
tetradic
#9B2B99 #9B652B #2B9B2D #2B619B
square
#9B2B99 #9B652B #2B9B2D #2B619B
split-complementary
#9B2B99 #619B2B #2B9B65
monochromatic
#3B103A #6B1E6A #9B2B99 #C93BC6 #D66BD4

Accessibility & contrast

On white

6.56
#9B2B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9B2B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B99
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B99#FFFFFF#000000##FFFFFF
##9B2B991.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#A03B5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2b99;
/* rgb */ color: rgb(155, 43, 153);
/* oklch */ color: oklch(50.4% 0.192 328.7);
Tailwind
colors: {
  custom: {
    50: '#bc70b7',
    500: '#9b2b99',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b99;
$custom-light: #bc70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b99",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 301.071,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50435,
    "c": 0.19196,
    "h": 328.7
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#9B2B99
secondary
#65BC67
accent
#E04B48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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