#9936C2#9936C2

#9936C2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.214 H 314.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9936C2
RGBrgb(153, 54, 194)
HSLhsl(282, 56%, 49%)
HSVhsv(282, 72%, 76%)
CMYKcmyk(21.1%, 72.2%, 0%, 23.9%)
CIE-LABlab(43.22, 61.60, -54.55)
CIE-LCHlch(43.22, 82.28, 318.48°)
OKLaboklab(53.78% 0.1484 -0.1539)
OKLCHoklch(53.78% 0.214 314)
XYZxyz(24.1920, 13.3065, 52.3225)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936C2 #5FC236
analogous
#5336C2 #9936C2 #C236A5
triadic
#9936C2 #C29936 #36C299
tetradic
#9936C2 #C25336 #5FC236 #36A5C2
square
#9936C2 #C25336 #5FC236 #36A5C2
split-complementary
#9936C2 #A5C236 #36C253
monochromatic
#4D1B62 #732992 #9936C2 #B262D3 #CA92E1

Accessibility & contrast

On white

5.74
#9936C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9936C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936C2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936C2#FFFFFF#000000##FFFFFF
##9936C21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2D68BF
Tritanopia (blue-blind)
#955479
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9936c2;
/* rgb */ color: rgb(153, 54, 194);
/* oklch */ color: oklch(53.8% 0.214 314.0);
Tailwind
colors: {
  custom: {
    50: '#bb76d5',
    500: '#9936c2',
    950: '#000000',
  },
}
SCSS
$custom: #9936c2;
$custom-light: #bb76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9936c2",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 282.429,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53782,
    "c": 0.21378,
    "h": 314
  },
  "luminance": 0.13306
}

Semantic roles & 50–950 ramp

primary
#9936C2
secondary
#9CCC88
accent
#E04874
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9936C2

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

Preview Lab → · Contrast checker → · Palette generator →

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