#9B2197#9B2197

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

Color values

HEX#9B2197
RGBrgb(155, 33, 151)
HSLhsl(302, 65%, 37%)
HSVhsv(302, 79%, 61%)
CMYKcmyk(0%, 78.7%, 2.6%, 39.2%)
CIE-LABlab(38.36, 61.32, -36.74)
CIE-LCHlch(38.36, 71.48, 329.07°)
OKLaboklab(49.53% 0.1731 -0.1016)
OKLCHoklch(49.53% 0.201 329.6)
XYZxyz(19.6472, 10.2922, 30.2240)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2197 #219B25
analogous
#62219B #9B2197 #9B215A
triadic
#9B2197 #979B21 #21979B
tetradic
#9B2197 #9B6221 #219B25 #215A9B
square
#9B2197 #9B6221 #219B25 #215A9B
split-complementary
#9B2197 #5A9B21 #219B62
monochromatic
#360C35 #691666 #9B2197 #CD2CC8 #DC5AD8

Accessibility & contrast

On white

6.87
#9B2197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2197
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2197#FFFFFF#000000##FFFFFF
##9B21971.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2197;
/* rgb */ color: rgb(155, 33, 151);
/* oklch */ color: oklch(49.5% 0.201 329.6);
Tailwind
colors: {
  custom: {
    50: '#bc6cb6',
    500: '#9b2197',
    950: '#000000',
  },
}
SCSS
$custom: #9b2197;
$custom-light: #bc6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2197",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 301.967,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.20072,
    "h": 329.6
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#9B2197
secondary
#58C05B
accent
#E84540
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2197

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

Preview Lab → · Contrast checker → · Palette generator →

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