#9B1D8F#9B1D8F

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

Color values

HEX#9B1D8F
RGBrgb(155, 29, 143)
HSLhsl(306, 68%, 36%)
HSVhsv(306, 81%, 61%)
CMYKcmyk(0%, 81.3%, 7.7%, 39.2%)
CIE-LABlab(37.54, 61.14, -33.16)
CIE-LCHlch(37.54, 69.56, 331.53°)
OKLaboklab(48.8% 0.1762 -0.0912)
OKLCHoklch(48.8% 0.198 332.6)
XYZxyz(18.9150, 9.8321, 26.8829)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D8F #1D9B29
analogous
#681D9B #9B1D8F #9B1D50
triadic
#9B1D8F #8F9B1D #1D8F9B
tetradic
#9B1D8F #9B681D #1D9B29 #1D509B
square
#9B1D8F #9B681D #1D9B29 #1D509B
split-complementary
#9B1D8F #509B1D #1D9B68
monochromatic
#340A30 #67135F #9B1D8F #CF27BF #DF53D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1D8F#FFFFFF#000000##FFFFFF
##9B1D8F1.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)
#134D92
Deuteranopia (green-blind)
#4A5E8C
Tritanopia (blue-blind)
#A22D56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1d8f;
/* rgb */ color: rgb(155, 29, 143);
/* oklch */ color: oklch(48.8% 0.198 332.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ab0',
    500: '#9b1d8f',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d8f;
$custom-light: #bc6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d8f",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 305.714,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.19842,
    "h": 332.6
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#9B1D8F
secondary
#52C25C
accent
#EB4D3C
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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