#9B2399#9B2399

#9B2399 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.200 H 328.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9B2399
RGBrgb(155, 35, 153)
HSLhsl(301, 63%, 37%)
HSVhsv(301, 77%, 61%)
CMYKcmyk(0%, 77.4%, 1.3%, 39.2%)
CIE-LABlab(38.68, 61.07, -37.45)
CIE-LCHlch(38.68, 71.64, 328.48°)
OKLaboklab(49.79% 0.1714 -0.1037)
OKLCHoklch(49.79% 0.2 328.8)
XYZxyz(19.8682, 10.4720, 31.1057)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2399 #239B25
analogous
#61239B #9B2399 #9B235D
triadic
#9B2399 #999B23 #23999B
tetradic
#9B2399 #9B6123 #239B25 #235D9B
square
#9B2399 #9B6123 #239B25 #235D9B
split-complementary
#9B2399 #5D9B23 #239B61
monochromatic
#370C36 #691868 #9B2399 #CD2ECA #DB5ED9

Accessibility & contrast

On white

6.79
#9B2399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2399
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2399#FFFFFF#000000##FFFFFF
##9B23991.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08519C
Deuteranopia (green-blind)
#476096
Tritanopia (blue-blind)
#A0365D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2399;
/* rgb */ color: rgb(155, 35, 153);
/* oklch */ color: oklch(49.8% 0.200 328.8);
Tailwind
colors: {
  custom: {
    50: '#bc6db7',
    500: '#9b2399',
    950: '#000000',
  },
}
SCSS
$custom: #9b2399;
$custom-light: #bc6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2399",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 301,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.20035,
    "h": 328.8
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#9B2399
secondary
#5ABF5C
accent
#E64442
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2399

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

Preview Lab → · Contrast checker → · Palette generator →

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