#9B1D9E#9B1D9E

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

Color values

HEX#9B1D9E
RGBrgb(155, 29, 158)
HSLhsl(299, 69%, 37%)
HSVhsv(299, 82%, 62%)
CMYKcmyk(1.9%, 81.6%, 0%, 38%)
CIE-LABlab(38.41, 63.52, -40.91)
CIE-LCHlch(38.41, 75.55, 327.22°)
OKLaboklab(49.69% 0.1758 -0.1137)
OKLCHoklch(49.69% 0.209 327.1)
XYZxyz(20.1282, 10.3174, 33.2724)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D9E #209E1D
analogous
#5B1D9E #9B1D9E #9E1D61
triadic
#9B1D9E #9E9B1D #1D9E9B
tetradic
#9B1D9E #9E5B1D #209E1D #1D619E
square
#9B1D9E #9E5B1D #209E1D #1D619E
split-complementary
#9B1D9E #619E1D #1D9E5B
monochromatic
#360A37 #68146A #9B1D9E #CE26D2 #DD56E0

Accessibility & contrast

On white

6.86
#9B1D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B1D9E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D9E#FFFFFF#000000##FFFFFF
##9B1D9E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#41609B
Tritanopia (blue-blind)
#A0355F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b1d9e;
/* rgb */ color: rgb(155, 29, 158);
/* oklch */ color: oklch(49.7% 0.209 327.1);
Tailwind
colors: {
  custom: {
    50: '#bd6bbb',
    500: '#9b1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d9e;
$custom-light: #bd6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d9e",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 298.605,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49694,
    "c": 0.20941,
    "h": 327.1
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#9B1D9E
secondary
#56C354
accent
#EC3C40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9B1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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