#9B2097#9B2097

#9B2097 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.202 H 329.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9B2097
RGBrgb(155, 32, 151)
HSLhsl(302, 66%, 37%)
HSVhsv(302, 79%, 61%)
CMYKcmyk(0%, 79.4%, 2.6%, 39.2%)
CIE-LABlab(38.27, 61.60, -36.89)
CIE-LCHlch(38.27, 71.80, 329.08°)
OKLaboklab(49.46% 0.1739 -0.1021)
OKLCHoklch(49.46% 0.202 329.6)
XYZxyz(19.6199, 10.2375, 30.2148)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2097 #209B24
analogous
#62209B #9B2097 #9B205A
triadic
#9B2097 #979B20 #20979B
tetradic
#9B2097 #9B6220 #209B24 #205A9B
square
#9B2097 #9B6220 #209B24 #205A9B
split-complementary
#9B2097 #5A9B20 #209B62
monochromatic
#360B34 #681666 #9B2097 #CE2AC8 #DD59D8

Accessibility & contrast

On white

6.89
#9B2097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B2097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2097
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2097#FFFFFF#000000##FFFFFF
##9B20971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#A1335B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2097;
/* rgb */ color: rgb(155, 32, 151);
/* oklch */ color: oklch(49.5% 0.202 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6bb6',
    500: '#9b2097',
    950: '#000000',
  },
}
SCSS
$custom: #9b2097;
$custom-light: #bc6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2097",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 301.951,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49462,
    "c": 0.20162,
    "h": 329.6
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#9B2097
secondary
#56C15A
accent
#E9453F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2097

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

Preview Lab → · Contrast checker → · Palette generator →

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