#9B2D97#9B2D97

#9B2D97 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.188 H 329.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9B2D97
RGBrgb(155, 45, 151)
HSLhsl(302, 55%, 39%)
HSVhsv(302, 71%, 61%)
CMYKcmyk(0%, 71%, 2.6%, 39.2%)
CIE-LABlab(39.72, 57.44, -34.59)
CIE-LCHlch(39.72, 67.05, 328.94°)
OKLaboklab(50.5% 0.162 -0.0955)
OKLCHoklch(50.5% 0.188 329.5)
XYZxyz(20.0417, 11.0812, 30.3555)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D97 #2D9B31
analogous
#682D9B #9B2D97 #9B2D60
triadic
#9B2D97 #979B2D #2D979B
tetradic
#9B2D97 #9B682D #2D9B31 #2D609B
square
#9B2D97 #9B682D #2D9B31 #2D609B
split-complementary
#9B2D97 #609B2D #2D9B68
monochromatic
#3C113B #6C1F69 #9B2D97 #C73EC2 #D56ED1

Accessibility & contrast

On white

6.53
#9B2D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9B2D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D97
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D97#FFFFFF#000000##FFFFFF
##9B2D971.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#A13B5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2d97;
/* rgb */ color: rgb(155, 45, 151);
/* oklch */ color: oklch(50.5% 0.188 329.5);
Tailwind
colors: {
  custom: {
    50: '#bc71b6',
    500: '#9b2d97',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d97;
$custom-light: #bc71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d97",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 302.182,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.18805,
    "h": 329.5
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#9B2D97
secondary
#68BC6B
accent
#DE4F49
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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