#9B2087#9B2087

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

Color values

HEX#9B2087
RGBrgb(155, 32, 135)
HSLhsl(310, 66%, 37%)
HSVhsv(310, 79%, 61%)
CMYKcmyk(0%, 79.4%, 12.9%, 39.2%)
CIE-LABlab(37.39, 59.13, -28.47)
CIE-LCHlch(37.39, 65.63, 334.29°)
OKLaboklab(48.56% 0.1735 -0.0777)
OKLCHoklch(48.56% 0.19 335.9)
XYZxyz(18.4076, 9.7526, 23.8300)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2087 #209B34
analogous
#72209B #9B2087 #9B204A
triadic
#9B2087 #879B20 #20879B
tetradic
#9B2087 #9B7220 #209B34 #204A9B
square
#9B2087 #9B7220 #209B34 #204A9B
split-complementary
#9B2087 #4A9B20 #209B72
monochromatic
#360B2F #68165B #9B2087 #CE2AB3 #DD59C7

Accessibility & contrast

On white

7.12
#9B2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2087
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2087#FFFFFF#000000##FFFFFF
##9B20871.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#4F5E84
Tritanopia (blue-blind)
#A32A52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2087;
/* rgb */ color: rgb(155, 32, 135);
/* oklch */ color: oklch(48.6% 0.190 335.9);
Tailwind
colors: {
  custom: {
    50: '#bc6baa',
    500: '#9b2087',
    950: '#000000',
  },
}
SCSS
$custom: #9b2087;
$custom-light: #bc6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2087",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 309.756,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.19008,
    "h": 335.9
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#9B2087
secondary
#56C167
accent
#E95B3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B2087

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

Preview Lab → · Contrast checker → · Palette generator →

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