#9939D7#9939D7

#9939D7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.6% C 0.230 H 308.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9939D7
RGBrgb(153, 57, 215)
HSLhsl(276, 66%, 53%)
HSVhsv(276, 73%, 84%)
CMYKcmyk(28.8%, 73.5%, 0%, 15.7%)
CIE-LABlab(45.09, 64.81, -63.66)
CIE-LCHlch(45.09, 90.85, 315.51°)
OKLaboklab(55.56% 0.1424 -0.1807)
OKLCHoklch(55.56% 0.23 308.2)
XYZxyz(26.8632, 14.6053, 65.6808)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939D7 #77D739
analogous
#4A39D7 #9939D7 #D739C6
triadic
#9939D7 #D79939 #39D799
tetradic
#9939D7 #D74A39 #77D739 #39C6D7
square
#9939D7 #D74A39 #77D739 #39C6D7
split-complementary
#9939D7 #C6D739 #39D74A
monochromatic
#55197C #7823AF #9939D7 #B36CE1 #CD9FEC

Accessibility & contrast

On white

5.36
#9939D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9939D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939D7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939D7#FFFFFF#000000##FFFFFF
##9939D71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#8F5F85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9939d7;
/* rgb */ color: rgb(153, 57, 215);
/* oklch */ color: oklch(55.6% 0.230 308.2);
Tailwind
colors: {
  custom: {
    50: '#bc78e4',
    500: '#9939d7',
    950: '#000000',
  },
}
SCSS
$custom: #9939d7;
$custom-light: #bc78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9939d7",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 276.456,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.23005,
    "h": 308.2
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#9939D7
secondary
#AFD894
accent
#E93E82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9939D7

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

Preview Lab → · Contrast checker → · Palette generator →

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