#9939B7#9939B7

#9939B7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.200 H 317.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9939B7
RGBrgb(153, 57, 183)
HSLhsl(286, 53%, 47%)
HSVhsv(286, 69%, 72%)
CMYKcmyk(16.4%, 68.9%, 0%, 28.2%)
CIE-LABlab(42.94, 58.18, -48.56)
CIE-LCHlch(42.94, 75.78, 320.15°)
OKLaboklab(53.36% 0.1463 -0.1364)
OKLCHoklch(53.36% 0.2 317)
XYZxyz(23.1460, 13.1184, 46.1034)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939B7 #57B739
analogous
#5A39B7 #9939B7 #B73996
triadic
#9939B7 #B79939 #39B799
tetradic
#9939B7 #B75A39 #57B739 #3996B7
square
#9939B7 #B75A39 #57B739 #3996B7
split-complementary
#9939B7 #96B739 #39B75A
monochromatic
#4B1C5A #722A88 #9939B7 #B360CD #C98EDC

Accessibility & contrast

On white

5.80
#9939B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9939B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939B7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939B7#FFFFFF#000000##FFFFFF
##9939B71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#985174
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9939b7;
/* rgb */ color: rgb(153, 57, 183);
/* oklch */ color: oklch(53.4% 0.200 317.0);
Tailwind
colors: {
  custom: {
    50: '#bb77cd',
    500: '#9939b7',
    950: '#000000',
  },
}
SCSS
$custom: #9939b7;
$custom-light: #bb77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9939b7",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 285.714,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.20001,
    "h": 317
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#9939B7
secondary
#95C785
accent
#DC4C6E
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9939B7

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

Preview Lab → · Contrast checker → · Palette generator →

#9939B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva