#9939B8#9939B8

#9939B8 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.4% C 0.201 H 316.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9939B8
RGBrgb(153, 57, 184)
HSLhsl(285, 53%, 47%)
HSVhsv(285, 69%, 72%)
CMYKcmyk(16.8%, 69%, 0%, 27.8%)
CIE-LABlab(43.00, 58.38, -49.05)
CIE-LCHlch(43.00, 76.25, 319.96°)
OKLaboklab(53.42% 0.1463 -0.1378)
OKLCHoklch(53.42% 0.201 316.7)
XYZxyz(23.2504, 13.1602, 46.6535)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939B8 #58B839
analogous
#5939B8 #9939B8 #B83998
triadic
#9939B8 #B89939 #39B899
tetradic
#9939B8 #B85939 #58B839 #3998B8
square
#9939B8 #B85939 #58B839 #3998B8
split-complementary
#9939B8 #98B839 #39B859
monochromatic
#4B1C5B #722B89 #9939B8 #B360CE #C98FDC

Accessibility & contrast

On white

5.78
#9939B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9939B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939B8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939B8#FFFFFF#000000##FFFFFF
##9939B81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#3A68B5
Tritanopia (blue-blind)
#975274
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9939b8;
/* rgb */ color: rgb(153, 57, 184);
/* oklch */ color: oklch(53.4% 0.201 316.7);
Tailwind
colors: {
  custom: {
    50: '#bb77ce',
    500: '#9939b8',
    950: '#000000',
  },
}
SCSS
$custom: #9939b8;
$custom-light: #bb77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9939b8",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 285.354,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.20094,
    "h": 316.7
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#9939B8
secondary
#96C786
accent
#DC4C6F
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9939B8

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

Preview Lab → · Contrast checker → · Palette generator →

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