#9B1D92#9B1D92

#9B1D92 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.201 H 331.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9B1D92
RGBrgb(155, 29, 146)
HSLhsl(304, 68%, 36%)
HSVhsv(304, 81%, 61%)
CMYKcmyk(0%, 81.3%, 5.8%, 39.2%)
CIE-LABlab(37.71, 61.61, -34.73)
CIE-LCHlch(37.71, 70.72, 330.59°)
OKLaboklab(48.97% 0.1762 -0.0958)
OKLCHoklch(48.97% 0.201 331.5)
XYZxyz(19.1453, 9.9242, 28.0958)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D92 #1D9B26
analogous
#651D9B #9B1D92 #9B1D53
triadic
#9B1D92 #929B1D #1D929B
tetradic
#9B1D92 #9B651D #1D9B26 #1D539B
square
#9B1D92 #9B651D #1D9B26 #1D539B
split-complementary
#9B1D92 #539B1D #1D9B65
monochromatic
#340A31 #671361 #9B1D92 #CF27C3 #DF53D5

Accessibility & contrast

On white

7.04
#9B1D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9B1D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D92
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D92#FFFFFF#000000##FFFFFF
##9B1D921.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#485F8F
Tritanopia (blue-blind)
#A22F58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b1d92;
/* rgb */ color: rgb(155, 29, 146);
/* oklch */ color: oklch(49.0% 0.201 331.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ab2',
    500: '#9b1d92',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d92;
$custom-light: #bc6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d92",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 304.286,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.20057,
    "h": 331.5
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#9B1D92
secondary
#52C25A
accent
#EB493C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9B1D92

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

Preview Lab → · Contrast checker → · Palette generator →

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