#9931BB#9931BB

#9931BB is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.213 H 316.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9931BB
RGBrgb(153, 49, 187)
HSLhsl(285, 58%, 46%)
HSVhsv(285, 74%, 73%)
CMYKcmyk(18.2%, 73.8%, 0%, 26.7%)
CIE-LABlab(42.09, 62.11, -52.28)
CIE-LCHlch(42.09, 81.18, 319.91°)
OKLaboklab(52.83% 0.154 -0.1472)
OKLCHoklch(52.83% 0.213 316.3)
XYZxyz(23.2034, 12.5577, 48.2057)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931BB #53BB31
analogous
#5431BB #9931BB #BB3198
triadic
#9931BB #BB9931 #31BB99
tetradic
#9931BB #BB5431 #53BB31 #3198BB
square
#9931BB #BB5431 #53BB31 #3198BB
split-complementary
#9931BB #98BB31 #31BB54
monochromatic
#4A185A #71248B #9931BB #B456D3 #CA87E0

Accessibility & contrast

On white

5.98
#9931BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9931BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931BB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931BB#FFFFFF#000000##FFFFFF
##9931BB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#3166B8
Tritanopia (blue-blind)
#974E74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9931bb;
/* rgb */ color: rgb(153, 49, 187);
/* oklch */ color: oklch(52.8% 0.213 316.3);
Tailwind
colors: {
  custom: {
    50: '#bb74d0',
    500: '#9931bb',
    950: '#000000',
  },
}
SCSS
$custom: #9931bb;
$custom-light: #bb74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9931bb",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 285.217,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5283,
    "c": 0.21306,
    "h": 316.3
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#9931BB
secondary
#91C97F
accent
#E2466C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9931BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9931BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva