#9B2597#9B2597

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

Color values

HEX#9B2597
RGBrgb(155, 37, 151)
HSLhsl(302, 61%, 38%)
HSVhsv(302, 76%, 61%)
CMYKcmyk(0%, 76.1%, 2.6%, 39.2%)
CIE-LABlab(38.77, 60.13, -36.08)
CIE-LCHlch(38.77, 70.13, 329.03°)
OKLaboklab(49.82% 0.1697 -0.0998)
OKLCHoklch(49.82% 0.197 329.5)
XYZxyz(19.7649, 10.5276, 30.2632)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2597 #259B29
analogous
#64259B #9B2597 #9B255C
triadic
#9B2597 #979B25 #25979B
tetradic
#9B2597 #9B6425 #259B29 #255C9B
square
#9B2597 #9B6425 #259B29 #255C9B
split-complementary
#9B2597 #5C9B25 #259B64
monochromatic
#380D37 #6A1967 #9B2597 #CC31C7 #D961D5

Accessibility & contrast

On white

6.76
#9B2597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B2597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2597
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2597#FFFFFF#000000##FFFFFF
##9B25971.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12519A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A1365D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2597;
/* rgb */ color: rgb(155, 37, 151);
/* oklch */ color: oklch(49.8% 0.197 329.5);
Tailwind
colors: {
  custom: {
    50: '#bc6db6',
    500: '#9b2597',
    950: '#000000',
  },
}
SCSS
$custom: #9b2597;
$custom-light: #bc6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2597",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 302.034,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49824,
    "c": 0.19686,
    "h": 329.5
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2597

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

Preview Lab → · Contrast checker → · Palette generator →

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