#9931BC#9931BC

#9931BC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.214 H 316.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9931BC
RGBrgb(153, 49, 188)
HSLhsl(285, 59%, 46%)
HSVhsv(285, 74%, 74%)
CMYKcmyk(18.6%, 73.9%, 0%, 26.3%)
CIE-LABlab(42.16, 62.31, -52.76)
CIE-LCHlch(42.16, 81.64, 319.74°)
OKLaboklab(52.9% 0.1539 -0.1486)
OKLCHoklch(52.9% 0.214 316)
XYZxyz(23.3109, 12.6007, 48.7715)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9931BC #54BC31
analogous
#5431BC #9931BC #BC319A
triadic
#9931BC #BC9931 #31BC99
tetradic
#9931BC #BC5431 #54BC31 #319ABC
square
#9931BC #BC5431 #54BC31 #319ABC
split-complementary
#9931BC #9ABC31 #31BC54
monochromatic
#4A185B #71248B #9931BC #B457D3 #CA88E0

Accessibility & contrast

On white

5.97
#9931BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9931BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9931BC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9931BC#FFFFFF#000000##FFFFFF
##9931BC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#974F74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9931bc;
/* rgb */ color: rgb(153, 49, 188);
/* oklch */ color: oklch(52.9% 0.214 316.0);
Tailwind
colors: {
  custom: {
    50: '#bb74d1',
    500: '#9931bc',
    950: '#000000',
  },
}
SCSS
$custom: #9931bc;
$custom-light: #bb74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9931bc",
  "rgb": {
    "r": 153,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 284.892,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.21395,
    "h": 316
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#9931BC
secondary
#92CA7F
accent
#E2466D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9931BC

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

Preview Lab → · Contrast checker → · Palette generator →

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