#9937CC#9937CC

#9937CC is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.222 H 311.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9937CC
RGBrgb(153, 55, 204)
HSLhsl(279, 59%, 51%)
HSVhsv(279, 73%, 80%)
CMYKcmyk(25%, 73%, 0%, 20%)
CIE-LABlab(44.04, 63.27, -59.03)
CIE-LCHlch(44.04, 86.53, 316.99°)
OKLaboklab(54.58% 0.1461 -0.1671)
OKLCHoklch(54.58% 0.222 311.2)
XYZxyz(25.4001, 13.8649, 58.4532)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937CC #6ACC37
analogous
#4E37CC #9937CC #CC37B5
triadic
#9937CC #CC9937 #37CC99
tetradic
#9937CC #CC4E37 #6ACC37 #37B5CC
square
#9937CC #CC4E37 #6ACC37 #37B5CC
split-complementary
#9937CC #B5CC37 #37CC4E
monochromatic
#511C6D #75289E #9937CC #B268D8 #CB99E5

Accessibility & contrast

On white

5.57
#9937CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9937CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937CC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937CC#FFFFFF#000000##FFFFFF
##9937CC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#1D6AC9
Tritanopia (blue-blind)
#92597F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9937cc;
/* rgb */ color: rgb(153, 55, 204);
/* oklch */ color: oklch(54.6% 0.222 311.2);
Tailwind
colors: {
  custom: {
    50: '#bc77dc',
    500: '#9937cc',
    950: '#000000',
  },
}
SCSS
$custom: #9937cc;
$custom-light: #bc77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9937cc",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 279.463,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54577,
    "c": 0.22191,
    "h": 311.2
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#9937CC
secondary
#A5D08E
accent
#E3457B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9937CC

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

Preview Lab → · Contrast checker → · Palette generator →

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