#9939E6#9939E6

#9939E6 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.7% C 0.244 H 304.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9939E6
RGBrgb(153, 57, 230)
HSLhsl(273, 78%, 56%)
HSVhsv(273, 75%, 90%)
CMYKcmyk(33.5%, 75.2%, 0%, 9.8%)
CIE-LABlab(46.19, 68.07, -70.42)
CIE-LCHlch(46.19, 97.94, 314.03°)
OKLaboklab(56.69% 0.1394 -0.2005)
OKLCHoklch(56.69% 0.244 304.8)
XYZxyz(28.8797, 15.4119, 76.3009)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939E6 #86E639
analogous
#4339E6 #9939E6 #E639DC
triadic
#9939E6 #E69939 #39E699
tetradic
#9939E6 #E64339 #86E639 #39DCE6
square
#9939E6 #E64339 #86E639 #39DCE6
split-complementary
#9939E6 #DCE639 #39E643
monochromatic
#591292 #7B19C8 #9939E6 #B56FED #D1A6F4

Accessibility & contrast

On white

5.14
#9939E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9939E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939E6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939E6#FFFFFF#000000##FFFFFF
##9939E61.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#8A658E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9939e6;
/* rgb */ color: rgb(153, 57, 230);
/* oklch */ color: oklch(56.7% 0.244 304.8);
Tailwind
colors: {
  custom: {
    50: '#bd79ef',
    500: '#9939e6',
    950: '#000000',
  },
}
SCSS
$custom: #9939e6;
$custom-light: #bd79ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9939e6",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 230
  },
  "hsl": {
    "h": 273.295,
    "s": 77.578,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.24424,
    "h": 304.8
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#9939E6
secondary
#B9E19A
accent
#F43489
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9939E6

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

Preview Lab → · Contrast checker → · Palette generator →

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