#9B2187#9B2187

#9B2187 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.189 H 335.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9B2187
RGBrgb(155, 33, 135)
HSLhsl(310, 65%, 37%)
HSVhsv(310, 79%, 61%)
CMYKcmyk(0%, 78.7%, 12.9%, 39.2%)
CIE-LABlab(37.49, 58.85, -28.31)
CIE-LCHlch(37.49, 65.30, 334.31°)
OKLaboklab(48.63% 0.1726 -0.0773)
OKLCHoklch(48.63% 0.189 335.9)
XYZxyz(18.4349, 9.8073, 23.8391)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2187 #219B35
analogous
#72219B #9B2187 #9B214A
triadic
#9B2187 #879B21 #21879B
tetradic
#9B2187 #9B7221 #219B35 #214A9B
square
#9B2187 #9B7221 #219B35 #214A9B
split-complementary
#9B2187 #4A9B21 #219B72
monochromatic
#360C2F #69165B #9B2187 #CD2CB3 #DC5AC7

Accessibility & contrast

On white

7.09
#9B2187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9B2187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2187
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2187#FFFFFF#000000##FFFFFF
##9B21871.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A32B53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2187;
/* rgb */ color: rgb(155, 33, 135);
/* oklch */ color: oklch(48.6% 0.189 335.9);
Tailwind
colors: {
  custom: {
    50: '#bc6baa',
    500: '#9b2187',
    950: '#000000',
  },
}
SCSS
$custom: #9b2187;
$custom-light: #bc6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2187",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 309.836,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.18912,
    "h": 335.9
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#9B2187
secondary
#58C069
accent
#E85B40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B2187

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

Preview Lab → · Contrast checker → · Palette generator →

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