#9B2398#9B2398

#9B2398 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.200 H 329.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9B2398
RGBrgb(155, 35, 152)
HSLhsl(302, 63%, 37%)
HSVhsv(302, 77%, 61%)
CMYKcmyk(0%, 77.4%, 1.9%, 39.2%)
CIE-LABlab(38.62, 60.90, -36.94)
CIE-LCHlch(38.62, 71.23, 328.76°)
OKLaboklab(49.73% 0.1714 -0.1022)
OKLCHoklch(49.73% 0.2 329.2)
XYZxyz(19.7859, 10.4391, 30.6725)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2398 #239B26
analogous
#62239B #9B2398 #9B235C
triadic
#9B2398 #989B23 #23989B
tetradic
#9B2398 #9B6223 #239B26 #235C9B
square
#9B2398 #9B6223 #239B26 #235C9B
split-complementary
#9B2398 #5C9B23 #239B62
monochromatic
#370C36 #691867 #9B2398 #CD2EC9 #DB5ED7

Accessibility & contrast

On white

6.80
#9B2398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9B2398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2398
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2398#FFFFFF#000000##FFFFFF
##9B23981.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#A1365D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2398;
/* rgb */ color: rgb(155, 35, 152);
/* oklch */ color: oklch(49.7% 0.200 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6cb7',
    500: '#9b2398',
    950: '#000000',
  },
}
SCSS
$custom: #9b2398;
$custom-light: #bc6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2398",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 301.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.19959,
    "h": 329.2
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#9B2398
secondary
#5ABF5D
accent
#E64642
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2398

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

Preview Lab → · Contrast checker → · Palette generator →

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