#9B2C98#9B2C98

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

Color values

HEX#9B2C98
RGBrgb(155, 44, 152)
HSLhsl(302, 56%, 39%)
HSVhsv(302, 72%, 61%)
CMYKcmyk(0%, 71.6%, 1.9%, 39.2%)
CIE-LABlab(39.65, 57.97, -35.31)
CIE-LCHlch(39.65, 67.88, 328.65°)
OKLaboklab(50.47% 0.1631 -0.0976)
OKLCHoklch(50.47% 0.19 329.1)
XYZxyz(20.0856, 11.0384, 30.7724)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2C98 #2C9B2F
analogous
#672C9B #9B2C98 #9B2C61
triadic
#9B2C98 #989B2C #2C989B
tetradic
#9B2C98 #9B672C #2C9B2F #2C619B
square
#9B2C98 #9B672C #2C9B2F #2C619B
split-complementary
#9B2C98 #619B2C #2C9B67
monochromatic
#3C113B #6B1E69 #9B2C98 #C83CC4 #D56CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2C98#FFFFFF#000000##FFFFFF
##9B2C981.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)
#1D549B
Deuteranopia (green-blind)
#4B6395
Tritanopia (blue-blind)
#A03B5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2c98;
/* rgb */ color: rgb(155, 44, 152);
/* oklch */ color: oklch(50.5% 0.190 329.1);
Tailwind
colors: {
  custom: {
    50: '#bc70b7',
    500: '#9b2c98',
    950: '#000000',
  },
}
SCSS
$custom: #9b2c98;
$custom-light: #bc70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2c98",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 301.622,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50467,
    "c": 0.19002,
    "h": 329.1
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#9B2C98
secondary
#67BC69
accent
#DF4D49
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2C98

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

Preview Lab → · Contrast checker → · Palette generator →

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