#9B2188#9B2188

#9B2188 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.190 H 335.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9B2188
RGBrgb(155, 33, 136)
HSLhsl(309, 65%, 37%)
HSVhsv(309, 79%, 61%)
CMYKcmyk(0%, 78.7%, 12.3%, 39.2%)
CIE-LABlab(37.55, 58.99, -28.85)
CIE-LCHlch(37.55, 65.67, 333.94°)
OKLaboklab(48.68% 0.1727 -0.0788)
OKLCHoklch(48.68% 0.19 335.5)
XYZxyz(18.5056, 9.8356, 24.2116)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2188 #219B34
analogous
#71219B #9B2188 #9B214B
triadic
#9B2188 #889B21 #21889B
tetradic
#9B2188 #9B7121 #219B34 #214B9B
square
#9B2188 #9B7121 #219B34 #214B9B
split-complementary
#9B2188 #4B9B21 #219B71
monochromatic
#360C2F #69165C #9B2188 #CD2CB4 #DC5AC8

Accessibility & contrast

On white

7.08
#9B2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2188
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2188#FFFFFF#000000##FFFFFF
##9B21881.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8B
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#A32C53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2188;
/* rgb */ color: rgb(155, 33, 136);
/* oklch */ color: oklch(48.7% 0.190 335.5);
Tailwind
colors: {
  custom: {
    50: '#bc6bab',
    500: '#9b2188',
    950: '#000000',
  },
}
SCSS
$custom: #9b2188;
$custom-light: #bc6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2188",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 309.344,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.18982,
    "h": 335.5
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#9B2188
secondary
#58C068
accent
#E85A40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B2188

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

Preview Lab → · Contrast checker → · Palette generator →

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