#9B1D9F#9B1D9F

#9B1D9F is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.210 H 326.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B1D9F
RGBrgb(155, 29, 159)
HSLhsl(298, 69%, 37%)
HSVhsv(298, 82%, 62%)
CMYKcmyk(2.5%, 81.8%, 0%, 37.6%)
CIE-LABlab(38.47, 63.68, -41.41)
CIE-LCHlch(38.47, 75.97, 326.96°)
OKLaboklab(49.76% 0.1758 -0.1152)
OKLCHoklch(49.76% 0.21 326.8)
XYZxyz(20.2146, 10.3520, 33.7276)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D9F #219F1D
analogous
#5A1D9F #9B1D9F #9F1D62
triadic
#9B1D9F #9F9B1D #1D9F9B
tetradic
#9B1D9F #9F5A1D #219F1D #1D629F
square
#9B1D9F #9F5A1D #219F1D #1D629F
split-complementary
#9B1D9F #629F1D #1D9F5A
monochromatic
#360A37 #69146B #9B1D9F #CD26D3 #DC56E0

Accessibility & contrast

On white

6.84
#9B1D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B1D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1D9F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D9F#FFFFFF#000000##FFFFFF
##9B1D9F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#40609C
Tritanopia (blue-blind)
#9F365F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b1d9f;
/* rgb */ color: rgb(155, 29, 159);
/* oklch */ color: oklch(49.8% 0.210 326.8);
Tailwind
colors: {
  custom: {
    50: '#bd6bbc',
    500: '#9b1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d9f;
$custom-light: #bd6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d9f",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 298.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.21017,
    "h": 326.8
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#9B1D9F
secondary
#58C454
accent
#EC3C41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9B1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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