#9B2497#9B2497

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

Color values

HEX#9B2497
RGBrgb(155, 36, 151)
HSLhsl(302, 62%, 37%)
HSVhsv(302, 77%, 61%)
CMYKcmyk(0%, 76.8%, 2.6%, 39.2%)
CIE-LABlab(38.67, 60.44, -36.25)
CIE-LCHlch(38.67, 70.48, 329.04°)
OKLaboklab(49.75% 0.1706 -0.1003)
OKLCHoklch(49.75% 0.198 329.6)
XYZxyz(19.7342, 10.4662, 30.2530)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2497 #249B28
analogous
#64249B #9B2497 #9B245B
triadic
#9B2497 #979B24 #24979B
tetradic
#9B2497 #9B6424 #249B28 #245B9B
square
#9B2497 #9B6424 #249B28 #245B9B
split-complementary
#9B2497 #5B9B24 #249B64
monochromatic
#380D36 #691867 #9B2497 #CD30C7 #DA5FD6

Accessibility & contrast

On white

6.79
#9B2497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9B2497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2497
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2497#FFFFFF#000000##FFFFFF
##9B24971.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#486194
Tritanopia (blue-blind)
#A1365C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2497;
/* rgb */ color: rgb(155, 36, 151);
/* oklch */ color: oklch(49.7% 0.198 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6db6',
    500: '#9b2497',
    950: '#000000',
  },
}
SCSS
$custom: #9b2497;
$custom-light: #bc6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2497",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 302.017,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49748,
    "c": 0.19785,
    "h": 329.6
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#9B2497
secondary
#5CBF5F
accent
#E54842
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2497

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

Preview Lab → · Contrast checker → · Palette generator →

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