#9B2199#9B2199

#9B2199 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.202 H 328.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B2199
RGBrgb(155, 33, 153)
HSLhsl(301, 65%, 37%)
HSVhsv(301, 79%, 61%)
CMYKcmyk(0%, 78.7%, 1.3%, 39.2%)
CIE-LABlab(38.48, 61.64, -37.77)
CIE-LCHlch(38.48, 72.29, 328.50°)
OKLaboklab(49.65% 0.1731 -0.1046)
OKLCHoklch(49.65% 0.202 328.8)
XYZxyz(19.8110, 10.3577, 31.0866)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2199 #219B23
analogous
#60219B #9B2199 #9B215C
triadic
#9B2199 #999B21 #21999B
tetradic
#9B2199 #9B6021 #219B23 #215C9B
square
#9B2199 #9B6021 #219B23 #215C9B
split-complementary
#9B2199 #5C9B21 #219B60
monochromatic
#360C35 #691667 #9B2199 #CD2CCB #DC5ADA

Accessibility & contrast

On white

6.84
#9B2199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B2199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2199
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2199#FFFFFF#000000##FFFFFF
##9B21991.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509C
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#A0355D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2199;
/* rgb */ color: rgb(155, 33, 153);
/* oklch */ color: oklch(49.6% 0.202 328.8);
Tailwind
colors: {
  custom: {
    50: '#bc6cb7',
    500: '#9b2199',
    950: '#000000',
  },
}
SCSS
$custom: #9b2199;
$custom-light: #bc6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2199",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 300.984,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4965,
    "c": 0.20222,
    "h": 328.8
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#9B2199
secondary
#58C059
accent
#E84340
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2199

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

Preview Lab → · Contrast checker → · Palette generator →

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