#9939CE#9939CE

#9939CE is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.222 H 310.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9939CE
RGBrgb(153, 57, 206)
HSLhsl(279, 60%, 52%)
HSVhsv(279, 72%, 81%)
CMYKcmyk(25.7%, 72.3%, 0%, 19.2%)
CIE-LABlab(44.45, 62.90, -59.51)
CIE-LCHlch(44.45, 86.59, 316.58°)
OKLaboklab(54.92% 0.1439 -0.1685)
OKLCHoklch(54.92% 0.222 310.5)
XYZxyz(25.7384, 14.1554, 59.7569)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939CE #6ECE39
analogous
#4F39CE #9939CE #CE39B8
triadic
#9939CE #CE9939 #39CE99
tetradic
#9939CE #CE4F39 #6ECE39 #39B8CE
square
#9939CE #CE4F39 #6ECE39 #39B8CE
split-complementary
#9939CE #B8CE39 #39CE4F
monochromatic
#531C71 #7628A2 #9939CE #B26ADA #CC9BE6

Accessibility & contrast

On white

5.48
#9939CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9939CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939CE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939CE#FFFFFF#000000##FFFFFF
##9939CE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#1C6BCB
Tritanopia (blue-blind)
#925B80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9939ce;
/* rgb */ color: rgb(153, 57, 206);
/* oklch */ color: oklch(54.9% 0.222 310.5);
Tailwind
colors: {
  custom: {
    50: '#bc78de',
    500: '#9939ce',
    950: '#000000',
  },
}
SCSS
$custom: #9939ce;
$custom-light: #bc78de;
$custom-dark: #000000;
JSON
{
  "hex": "#9939ce",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 278.658,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.22156,
    "h": 310.5
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#9939CE
secondary
#A8D291
accent
#E3447D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9939CE

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

Preview Lab → · Contrast checker → · Palette generator →

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