#9B2591#9B2591

#9B2591 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.192 H 331.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B2591
RGBrgb(155, 37, 145)
HSLhsl(305, 61%, 38%)
HSVhsv(305, 76%, 61%)
CMYKcmyk(0%, 76.1%, 6.5%, 39.2%)
CIE-LABlab(38.44, 59.17, -32.96)
CIE-LCHlch(38.44, 67.73, 330.88°)
OKLaboklab(49.48% 0.1696 -0.0907)
OKLCHoklch(49.48% 0.192 331.9)
XYZxyz(19.2900, 10.3376, 27.7620)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2591 #259B2F
analogous
#6A259B #9B2591 #9B2556
triadic
#9B2591 #919B25 #25919B
tetradic
#9B2591 #9B6A25 #259B2F #25569B
square
#9B2591 #9B6A25 #259B2F #25569B
split-complementary
#9B2591 #569B25 #259B6A
monochromatic
#380D35 #6A1963 #9B2591 #CC31BF #D961CF

Accessibility & contrast

On white

6.85
#9B2591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B2591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2591
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2591#FFFFFF#000000##FFFFFF
##9B25911.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5094
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#A23359
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2591;
/* rgb */ color: rgb(155, 37, 145);
/* oklch */ color: oklch(49.5% 0.192 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc6db1',
    500: '#9b2591',
    950: '#000000',
  },
}
SCSS
$custom: #9b2591;
$custom-light: #bc6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2591",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 305.085,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.19233,
    "h": 331.9
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#9B2591
secondary
#5DBF65
accent
#E55143
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2591

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

Preview Lab → · Contrast checker → · Palette generator →

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