#9937C8#9937C8

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

Color values

HEX#9937C8
RGBrgb(153, 55, 200)
HSLhsl(281, 57%, 50%)
HSVhsv(281, 73%, 78%)
CMYKcmyk(23.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(43.76, 62.44, -57.16)
CIE-LCHlch(43.76, 84.65, 317.53°)
OKLaboklab(54.3% 0.1466 -0.1616)
OKLCHoklch(54.3% 0.218 312.2)
XYZxyz(24.9265, 13.6755, 55.9589)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937C8 #66C837
analogous
#5137C8 #9937C8 #C837AE
triadic
#9937C8 #C89937 #37C899
tetradic
#9937C8 #C85137 #66C837 #37AEC8
square
#9937C8 #C85137 #66C837 #37AEC8
split-complementary
#9937C8 #AEC837 #37C851
monochromatic
#501D68 #742A98 #9937C8 #B167D5 #CA97E2

Accessibility & contrast

On white

5.62
#9937C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9937C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937C8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937C8#FFFFFF#000000##FFFFFF
##9937C81.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)
#0063CC
Deuteranopia (green-blind)
#2569C5
Tritanopia (blue-blind)
#93577D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9937c8;
/* rgb */ color: rgb(153, 55, 200);
/* oklch */ color: oklch(54.3% 0.218 312.2);
Tailwind
colors: {
  custom: {
    50: '#bc77d9',
    500: '#9937c8',
    950: '#000000',
  },
}
SCSS
$custom: #9937c8;
$custom-light: #bc77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9937c8",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 280.552,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.21819,
    "h": 312.2
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#9937C8
secondary
#A2CE8D
accent
#E04879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9937C8

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

Preview Lab → · Contrast checker → · Palette generator →

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