#9B2596#9B2596

#9B2596 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.196 H 329.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9B2596
RGBrgb(155, 37, 150)
HSLhsl(303, 61%, 38%)
HSVhsv(303, 76%, 61%)
CMYKcmyk(0%, 76.1%, 3.2%, 39.2%)
CIE-LABlab(38.72, 59.97, -35.57)
CIE-LCHlch(38.72, 69.73, 329.33°)
OKLaboklab(49.77% 0.1697 -0.0983)
OKLCHoklch(49.77% 0.196 329.9)
XYZxyz(19.6841, 10.4952, 29.8373)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2596 #259B2A
analogous
#65259B #9B2596 #9B255B
triadic
#9B2596 #969B25 #25969B
tetradic
#9B2596 #9B6525 #259B2A #255B9B
square
#9B2596 #9B6525 #259B2A #255B9B
split-complementary
#9B2596 #5B9B25 #259B65
monochromatic
#380D36 #6A1966 #9B2596 #CC31C6 #D961D4

Accessibility & contrast

On white

6.78
#9B2596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9B2596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2596
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2596#FFFFFF#000000##FFFFFF
##9B25961.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145199
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A1365C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2596;
/* rgb */ color: rgb(155, 37, 150);
/* oklch */ color: oklch(49.8% 0.196 329.9);
Tailwind
colors: {
  custom: {
    50: '#bc6db5',
    500: '#9b2596',
    950: '#000000',
  },
}
SCSS
$custom: #9b2596;
$custom-light: #bc6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2596",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 302.542,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.19609,
    "h": 329.9
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#9B2596
secondary
#5DBF61
accent
#E54A43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2596

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

Preview Lab → · Contrast checker → · Palette generator →

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