#9B2B97#9B2B97

#9B2B97 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.190 H 329.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9B2B97
RGBrgb(155, 43, 151)
HSLhsl(302, 57%, 39%)
HSVhsv(302, 72%, 61%)
CMYKcmyk(0%, 72.3%, 2.6%, 39.2%)
CIE-LABlab(39.47, 58.15, -34.99)
CIE-LCHlch(39.47, 67.87, 328.97°)
OKLaboklab(50.32% 0.164 -0.0966)
OKLCHoklch(50.32% 0.19 329.5)
XYZxyz(19.9672, 10.9322, 30.3306)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B97 #2B9B2F
analogous
#672B9B #9B2B97 #9B2B5F
triadic
#9B2B97 #979B2B #2B979B
tetradic
#9B2B97 #9B672B #2B9B2F #2B5F9B
square
#9B2B97 #9B672B #2B9B2F #2B5F9B
split-complementary
#9B2B97 #5F9B2B #2B9B67
monochromatic
#3B103A #6B1E68 #9B2B97 #C93BC3 #D66BD2

Accessibility & contrast

On white

6.59
#9B2B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9B2B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B97
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B97#FFFFFF#000000##FFFFFF
##9B2B971.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C539A
Deuteranopia (green-blind)
#4B6294
Tritanopia (blue-blind)
#A13A5E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2b97;
/* rgb */ color: rgb(155, 43, 151);
/* oklch */ color: oklch(50.3% 0.190 329.5);
Tailwind
colors: {
  custom: {
    50: '#bc70b6',
    500: '#9b2b97',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b97;
$custom-light: #bc70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b97",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 302.143,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.19039,
    "h": 329.5
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#9B2B97
secondary
#65BC68
accent
#E04D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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