#9936CA#9936CA

#9936CA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.221 H 311.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9936CA
RGBrgb(153, 54, 202)
HSLhsl(280, 58%, 50%)
HSVhsv(280, 73%, 79%)
CMYKcmyk(24.3%, 73.3%, 0%, 20.8%)
CIE-LABlab(43.76, 63.24, -58.32)
CIE-LCHlch(43.76, 86.03, 317.32°)
OKLaboklab(54.34% 0.1473 -0.165)
OKLCHoklch(54.34% 0.221 311.8)
XYZxyz(25.1147, 13.6756, 57.1823)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936CA #67CA36
analogous
#4F36CA #9936CA #CA36B1
triadic
#9936CA #CA9936 #36CA99
tetradic
#9936CA #CA4F36 #67CA36 #36B1CA
square
#9936CA #CA4F36 #67CA36 #36B1CA
split-complementary
#9936CA #B1CA36 #36CA4F
monochromatic
#501C6A #75299A #9936CA #B266D7 #CA97E4

Accessibility & contrast

On white

5.62
#9936CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9936CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936CA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936CA#FFFFFF#000000##FFFFFF
##9936CA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#2069C7
Tritanopia (blue-blind)
#93587D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9936ca;
/* rgb */ color: rgb(153, 54, 202);
/* oklch */ color: oklch(54.3% 0.221 311.8);
Tailwind
colors: {
  custom: {
    50: '#bc76db',
    500: '#9936ca',
    950: '#000000',
  },
}
SCSS
$custom: #9936ca;
$custom-light: #bc76db;
$custom-dark: #000000;
JSON
{
  "hex": "#9936ca",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 280.135,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.22116,
    "h": 311.8
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#9936CA
secondary
#A3CF8D
accent
#E1467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9936CA

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

Preview Lab → · Contrast checker → · Palette generator →

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