#9B2397#9B2397

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

Color values

HEX#9B2397
RGBrgb(155, 35, 151)
HSLhsl(302, 63%, 37%)
HSVhsv(302, 77%, 61%)
CMYKcmyk(0%, 77.4%, 2.6%, 39.2%)
CIE-LABlab(38.56, 60.74, -36.42)
CIE-LCHlch(38.56, 70.82, 329.05°)
OKLaboklab(49.67% 0.1714 -0.1007)
OKLCHoklch(49.67% 0.199 329.6)
XYZxyz(19.7044, 10.4065, 30.2430)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2397 #239B27
analogous
#63239B #9B2397 #9B235B
triadic
#9B2397 #979B23 #23979B
tetradic
#9B2397 #9B6323 #239B27 #235B9B
square
#9B2397 #9B6323 #239B27 #235B9B
split-complementary
#9B2397 #5B9B23 #239B63
monochromatic
#370C36 #691866 #9B2397 #CD2EC8 #DB5ED6

Accessibility & contrast

On white

6.82
#9B2397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9B2397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2397
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2397#FFFFFF#000000##FFFFFF
##9B23971.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#A1355C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2397;
/* rgb */ color: rgb(155, 35, 151);
/* oklch */ color: oklch(49.7% 0.199 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6cb6',
    500: '#9b2397',
    950: '#000000',
  },
}
SCSS
$custom: #9b2397;
$custom-light: #bc6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2397",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 302,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.19883,
    "h": 329.6
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#9B2397
secondary
#5ABF5E
accent
#E64742
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2397

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

Preview Lab → · Contrast checker → · Palette generator →

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