#9939B2#9939B2

#9939B2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.195 H 318.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9939B2
RGBrgb(153, 57, 178)
HSLhsl(288, 51%, 46%)
HSVhsv(288, 68%, 70%)
CMYKcmyk(14%, 68%, 0%, 30.2%)
CIE-LABlab(42.63, 57.19, -46.11)
CIE-LCHlch(42.63, 73.46, 321.12°)
OKLaboklab(53.04% 0.1466 -0.1292)
OKLCHoklch(53.04% 0.195 318.6)
XYZxyz(22.6348, 12.9139, 43.4112)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939B2 #52B239
analogous
#5C39B2 #9939B2 #B2398E
triadic
#9939B2 #B29939 #39B299
tetradic
#9939B2 #B25C39 #52B239 #398EB2
square
#9939B2 #B25C39 #52B239 #398EB2
split-complementary
#9939B2 #8EB239 #39B25C
monochromatic
#491B55 #712A84 #9939B2 #B45DCB #CA8BDA

Accessibility & contrast

On white

5.86
#9939B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9939B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939B2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939B2#FFFFFF#000000##FFFFFF
##9939B21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB6
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#994F71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9939b2;
/* rgb */ color: rgb(153, 57, 178);
/* oklch */ color: oklch(53.0% 0.195 318.6);
Tailwind
colors: {
  custom: {
    50: '#ba77ca',
    500: '#9939b2',
    950: '#000000',
  },
}
SCSS
$custom: #9939b2;
$custom-light: #ba77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9939b2",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 287.603,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53036,
    "c": 0.19538,
    "h": 318.6
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#9939B2
secondary
#90C482
accent
#DB4D6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9939B2

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

Preview Lab → · Contrast checker → · Palette generator →

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