#9B2189#9B2189

#9B2189 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.191 H 335.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9B2189
RGBrgb(155, 33, 137)
HSLhsl(309, 65%, 37%)
HSVhsv(309, 79%, 61%)
CMYKcmyk(0%, 78.7%, 11.6%, 39.2%)
CIE-LABlab(37.60, 59.14, -29.38)
CIE-LCHlch(37.60, 66.04, 333.58°)
OKLaboklab(48.74% 0.1727 -0.0804)
OKLCHoklch(48.74% 0.191 335)
XYZxyz(18.5770, 9.8641, 24.5876)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2189 #219B33
analogous
#70219B #9B2189 #9B214C
triadic
#9B2189 #899B21 #21899B
tetradic
#9B2189 #9B7021 #219B33 #214C9B
square
#9B2189 #9B7021 #219B33 #214C9B
split-complementary
#9B2189 #4C9B21 #219B70
monochromatic
#360C30 #69165C #9B2189 #CD2CB6 #DC5AC9

Accessibility & contrast

On white

7.06
#9B2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2189
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2189#FFFFFF#000000##FFFFFF
##9B21891.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#4E5F86
Tritanopia (blue-blind)
#A32C54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2189;
/* rgb */ color: rgb(155, 33, 137);
/* oklch */ color: oklch(48.7% 0.191 335.0);
Tailwind
colors: {
  custom: {
    50: '#bc6bac',
    500: '#9b2189',
    950: '#000000',
  },
}
SCSS
$custom: #9b2189;
$custom-light: #bc6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2189",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 308.852,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.19053,
    "h": 335
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#9B2189
secondary
#58C067
accent
#E85940
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B2189

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

Preview Lab → · Contrast checker → · Palette generator →

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