#9B1886#9B1886

#9B1886 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.196 H 336.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9B1886
RGBrgb(155, 24, 134)
HSLhsl(310, 73%, 35%)
HSVhsv(310, 85%, 61%)
CMYKcmyk(0%, 84.5%, 13.5%, 39.2%)
CIE-LABlab(36.64, 61.02, -29.04)
CIE-LCHlch(36.64, 67.57, 334.55°)
OKLaboklab(48% 0.1795 -0.0793)
OKLCHoklch(48% 0.196 336.2)
XYZxyz(18.1476, 9.3448, 23.3976)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1886 #189B2D
analogous
#6E189B #9B1886 #9B1845
triadic
#9B1886 #869B18 #18869B
tetradic
#9B1886 #9B6E18 #189B2D #18459B
square
#9B1886 #9B6E18 #189B2D #18459B
split-complementary
#9B1886 #459B18 #189B6E
monochromatic
#31082A #661058 #9B1886 #D020B4 #E34ACB

Accessibility & contrast

On white

7.32
#9B1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9B1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1886
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1886#FFFFFF#000000##FFFFFF
##9B18861.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#A32450
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1886;
/* rgb */ color: rgb(155, 24, 134);
/* oklch */ color: oklch(48.0% 0.196 336.2);
Tailwind
colors: {
  custom: {
    50: '#bd68a9',
    500: '#9b1886',
    950: '#000000',
  },
}
SCSS
$custom: #9b1886;
$custom-light: #bd68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1886",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 309.618,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.1962,
    "h": 336.2
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#9B1886
secondary
#4AC55E
accent
#F05538
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1886

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

Preview Lab → · Contrast checker → · Palette generator →

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