#9939D9#9939D9

#9939D9 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.7% C 0.232 H 307.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9939D9
RGBrgb(153, 57, 217)
HSLhsl(276, 68%, 54%)
HSVhsv(276, 74%, 85%)
CMYKcmyk(29.5%, 73.7%, 0%, 14.9%)
CIE-LABlab(45.23, 65.24, -64.57)
CIE-LCHlch(45.23, 91.80, 315.30°)
OKLaboklab(55.71% 0.142 -0.1834)
OKLCHoklch(55.71% 0.232 307.8)
XYZxyz(27.1217, 14.7087, 67.0425)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939D9 #79D939
analogous
#4939D9 #9939D9 #D939C9
triadic
#9939D9 #D99939 #39D999
tetradic
#9939D9 #D94939 #79D939 #39C9D9
square
#9939D9 #D94939 #79D939 #39C9D9
split-complementary
#9939D9 #C9D939 #39D949
monochromatic
#56187F #7922B3 #9939D9 #B36CE3 #CEA0ED

Accessibility & contrast

On white

5.33
#9939D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9939D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939D9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939D9#FFFFFF#000000##FFFFFF
##9939D91.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#8F5F87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9939d9;
/* rgb */ color: rgb(153, 57, 217);
/* oklch */ color: oklch(55.7% 0.232 307.8);
Tailwind
colors: {
  custom: {
    50: '#bc79e6',
    500: '#9939d9',
    950: '#000000',
  },
}
SCSS
$custom: #9939d9;
$custom-light: #bc79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9939d9",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 276,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.23194,
    "h": 307.8
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#9939D9
secondary
#B0D995
accent
#EB3D83
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9939D9

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

Preview Lab → · Contrast checker → · Palette generator →

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