#9B2392#9B2392

#9B2392 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.195 H 331.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9B2392
RGBrgb(155, 35, 146)
HSLhsl(305, 63%, 37%)
HSVhsv(305, 77%, 61%)
CMYKcmyk(0%, 77.4%, 5.8%, 39.2%)
CIE-LABlab(38.28, 59.94, -33.82)
CIE-LCHlch(38.28, 68.82, 330.57°)
OKLaboklab(49.38% 0.1714 -0.0932)
OKLCHoklch(49.38% 0.195 331.5)
XYZxyz(19.3069, 10.2475, 28.1497)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2392 #239B2C
analogous
#68239B #9B2392 #9B2356
triadic
#9B2392 #929B23 #23929B
tetradic
#9B2392 #9B6823 #239B2C #23569B
square
#9B2392 #9B6823 #239B2C #23569B
split-complementary
#9B2392 #569B23 #239B68
monochromatic
#370C34 #691863 #9B2392 #CD2EC1 #DB5ED1

Accessibility & contrast

On white

6.89
#9B2392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B2392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2392
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2392#FFFFFF#000000##FFFFFF
##9B23921.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175095
Deuteranopia (green-blind)
#4A608F
Tritanopia (blue-blind)
#A23259
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2392;
/* rgb */ color: rgb(155, 35, 146);
/* oklch */ color: oklch(49.4% 0.195 331.5);
Tailwind
colors: {
  custom: {
    50: '#bc6cb2',
    500: '#9b2392',
    950: '#000000',
  },
}
SCSS
$custom: #9b2392;
$custom-light: #bc6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2392",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 304.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.19509,
    "h": 331.5
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#9B2392
secondary
#5ABF62
accent
#E64E42
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2392

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

Preview Lab → · Contrast checker → · Palette generator →

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