#9936BA#9936BA

#9936BA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.2% C 0.206 H 316.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9936BA
RGBrgb(153, 54, 186)
HSLhsl(285, 55%, 47%)
HSVhsv(285, 71%, 73%)
CMYKcmyk(17.7%, 71%, 0%, 27.1%)
CIE-LABlab(42.70, 60.00, -50.71)
CIE-LCHlch(42.70, 78.56, 319.79°)
OKLaboklab(53.24% 0.1492 -0.1426)
OKLCHoklch(53.24% 0.206 316.3)
XYZxyz(23.3176, 12.9567, 47.7175)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936BA #57BA36
analogous
#5736BA #9936BA #BA3699
triadic
#9936BA #BA9936 #36BA99
tetradic
#9936BA #BA5736 #57BA36 #3699BA
square
#9936BA #BA5736 #57BA36 #3699BA
split-complementary
#9936BA #99BA36 #36BA57
monochromatic
#4B1A5B #72288B #9936BA #B35DD0 #C98DDE

Accessibility & contrast

On white

5.85
#9936BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9936BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936BA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936BA#FFFFFF#000000##FFFFFF
##9936BA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#975174
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9936ba;
/* rgb */ color: rgb(153, 54, 186);
/* oklch */ color: oklch(53.2% 0.206 316.3);
Tailwind
colors: {
  custom: {
    50: '#bb76cf',
    500: '#9936ba',
    950: '#000000',
  },
}
SCSS
$custom: #9936ba;
$custom-light: #bb76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9936ba",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 285,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.20644,
    "h": 316.3
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#9936BA
secondary
#95C884
accent
#DE496F
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9936BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9936BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva