#9B2B98#9B2B98

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

Color values

HEX#9B2B98
RGBrgb(155, 43, 152)
HSLhsl(302, 57%, 39%)
HSVhsv(302, 72%, 61%)
CMYKcmyk(0%, 72.3%, 1.9%, 39.2%)
CIE-LABlab(39.52, 58.32, -35.51)
CIE-LCHlch(39.52, 68.28, 328.67°)
OKLaboklab(50.38% 0.1641 -0.0981)
OKLCHoklch(50.38% 0.191 329.1)
XYZxyz(20.0488, 10.9648, 30.7601)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B98 #2B9B2E
analogous
#662B9B #9B2B98 #9B2B60
triadic
#9B2B98 #989B2B #2B989B
tetradic
#9B2B98 #9B662B #2B9B2E #2B609B
square
#9B2B98 #9B662B #2B9B2E #2B609B
split-complementary
#9B2B98 #609B2B #2B9B66
monochromatic
#3B103A #6B1E69 #9B2B98 #C93BC5 #D66BD3

Accessibility & contrast

On white

6.58
#9B2B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2B98
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B98#FFFFFF#000000##FFFFFF
##9B2B981.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2b98;
/* rgb */ color: rgb(155, 43, 152);
/* oklch */ color: oklch(50.4% 0.191 329.1);
Tailwind
colors: {
  custom: {
    50: '#bc70b7',
    500: '#9b2b98',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b98;
$custom-light: #bc70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b98",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 301.607,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.19117,
    "h": 329.1
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2B98

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

Preview Lab → · Contrast checker → · Palette generator →

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