#9B1D9D#9B1D9D

#9B1D9D is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.209 H 327.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9B1D9D
RGBrgb(155, 29, 157)
HSLhsl(299, 69%, 36%)
HSVhsv(299, 82%, 62%)
CMYKcmyk(1.3%, 81.5%, 0%, 38.4%)
CIE-LABlab(38.35, 63.36, -40.40)
CIE-LCHlch(38.35, 75.14, 327.48°)
OKLaboklab(49.63% 0.1759 -0.1123)
OKLCHoklch(49.63% 0.209 327.5)
XYZxyz(20.0424, 10.2831, 32.8210)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D9D #1F9D1D
analogous
#5B1D9D #9B1D9D #9D1D5F
triadic
#9B1D9D #9D9B1D #1D9D9B
tetradic
#9B1D9D #9D5B1D #1F9D1D #1D5F9D
square
#9B1D9D #9D5B1D #1F9D1D #1D5F9D
split-complementary
#9B1D9D #5F9D1D #1D9D5B
monochromatic
#350A36 #681369 #9B1D9D #CE27D1 #DD55E0

Accessibility & contrast

On white

6.87
#9B1D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B1D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1D9D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D9D#FFFFFF#000000##FFFFFF
##9B1D9D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#A0355E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b1d9d;
/* rgb */ color: rgb(155, 29, 157);
/* oklch */ color: oklch(49.6% 0.209 327.5);
Tailwind
colors: {
  custom: {
    50: '#bc6bba',
    500: '#9b1d9d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d9d;
$custom-light: #bc6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d9d",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 299.063,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.20866,
    "h": 327.5
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#9B1D9D
secondary
#55C353
accent
#EC3C3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9B1D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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