#9939CC#9939CC

#9939CC is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.220 H 311.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9939CC
RGBrgb(153, 57, 204)
HSLhsl(279, 59%, 51%)
HSVhsv(279, 72%, 80%)
CMYKcmyk(25%, 72.1%, 0%, 20%)
CIE-LABlab(44.32, 62.48, -58.58)
CIE-LCHlch(44.32, 85.65, 316.84°)
OKLaboklab(54.77% 0.1442 -0.1658)
OKLCHoklch(54.77% 0.22 311)
XYZxyz(25.4970, 14.0588, 58.4855)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939CC #6CCC39
analogous
#4F39CC #9939CC #CC39B5
triadic
#9939CC #CC9939 #39CC99
tetradic
#9939CC #CC4F39 #6CCC39 #39B5CC
square
#9939CC #CC4F39 #6CCC39 #39B5CC
split-complementary
#9939CC #B5CC39 #39CC4F
monochromatic
#521C6E #76299F #9939CC #B26AD9 #CB9AE5

Accessibility & contrast

On white

5.51
#9939CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9939CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939CC#FFFFFF#000000##FFFFFF
##9939CC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#206AC9
Tritanopia (blue-blind)
#925A7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9939cc;
/* rgb */ color: rgb(153, 57, 204);
/* oklch */ color: oklch(54.8% 0.220 311.0);
Tailwind
colors: {
  custom: {
    50: '#bc78dc',
    500: '#9939cc',
    950: '#000000',
  },
}
SCSS
$custom: #9939cc;
$custom-light: #bc78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9939cc",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 279.184,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.21967,
    "h": 311
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#9939CC
secondary
#A6D190
accent
#E2467C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9939CC

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

Preview Lab → · Contrast checker → · Palette generator →

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