#9937CA#9937CA

#9937CA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.220 H 311.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9937CA
RGBrgb(153, 55, 202)
HSLhsl(280, 58%, 50%)
HSVhsv(280, 73%, 79%)
CMYKcmyk(24.3%, 72.8%, 0%, 20.8%)
CIE-LABlab(43.90, 62.86, -58.10)
CIE-LCHlch(43.90, 85.59, 317.25°)
OKLaboklab(54.44% 0.1464 -0.1643)
OKLCHoklch(54.44% 0.22 311.7)
XYZxyz(25.1617, 13.7696, 57.1980)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937CA #68CA37
analogous
#4F37CA #9937CA #CA37B1
triadic
#9937CA #CA9937 #37CA99
tetradic
#9937CA #CA4F37 #68CA37 #37B1CA
square
#9937CA #CA4F37 #68CA37 #37B1CA
split-complementary
#9937CA #B1CA37 #37CA4F
monochromatic
#501C6A #75299B #9937CA #B267D7 #CA98E4

Accessibility & contrast

On white

5.59
#9937CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9937CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937CA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937CA#FFFFFF#000000##FFFFFF
##9937CA1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#93587E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9937ca;
/* rgb */ color: rgb(153, 55, 202);
/* oklch */ color: oklch(54.4% 0.220 311.7);
Tailwind
colors: {
  custom: {
    50: '#bc77db',
    500: '#9937ca',
    950: '#000000',
  },
}
SCSS
$custom: #9937ca;
$custom-light: #bc77db;
$custom-dark: #000000;
JSON
{
  "hex": "#9937ca",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54435,
    "c": 0.22005,
    "h": 311.7
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9937CA

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

Preview Lab → · Contrast checker → · Palette generator →

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