#9B2C97#9B2C97

#9B2C97 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 329.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9B2C97
RGBrgb(155, 44, 151)
HSLhsl(302, 56%, 39%)
HSVhsv(302, 72%, 61%)
CMYKcmyk(0%, 71.6%, 2.6%, 39.2%)
CIE-LABlab(39.59, 57.80, -34.79)
CIE-LCHlch(39.59, 67.46, 328.96°)
OKLaboklab(50.41% 0.163 -0.0961)
OKLCHoklch(50.41% 0.189 329.5)
XYZxyz(20.0040, 11.0058, 30.3429)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2C97 #2C9B30
analogous
#682C9B #9B2C97 #9B2C60
triadic
#9B2C97 #979B2C #2C979B
tetradic
#9B2C97 #9B682C #2C9B30 #2C609B
square
#9B2C97 #9B682C #2C9B30 #2C609B
split-complementary
#9B2C97 #609B2C #2C9B68
monochromatic
#3C113A #6B1E69 #9B2C97 #C83CC3 #D56CD2

Accessibility & contrast

On white

6.56
#9B2C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9B2C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2C97
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2C97#FFFFFF#000000##FFFFFF
##9B2C971.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#4C6294
Tritanopia (blue-blind)
#A13B5E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2c97;
/* rgb */ color: rgb(155, 44, 151);
/* oklch */ color: oklch(50.4% 0.189 329.5);
Tailwind
colors: {
  custom: {
    50: '#bc70b6',
    500: '#9b2c97',
    950: '#000000',
  },
}
SCSS
$custom: #9b2c97;
$custom-light: #bc70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2c97",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 302.162,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.18923,
    "h": 329.5
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#9B2C97
secondary
#67BC6A
accent
#DF4E49
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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