#9936D7#9936D7

#9936D7 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.3% C 0.233 H 308.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9936D7
RGBrgb(153, 54, 215)
HSLhsl(277, 67%, 53%)
HSVhsv(277, 75%, 84%)
CMYKcmyk(28.8%, 74.9%, 0%, 15.7%)
CIE-LABlab(44.68, 65.97, -64.32)
CIE-LCHlch(44.68, 92.13, 315.73°)
OKLaboklab(55.28% 0.1451 -0.1826)
OKLCHoklch(55.28% 0.233 308.5)
XYZxyz(26.7192, 14.3174, 65.6328)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936D7 #74D736
analogous
#4836D7 #9936D7 #D736C5
triadic
#9936D7 #D79936 #36D799
tetradic
#9936D7 #D74836 #74D736 #36C5D7
square
#9936D7 #D74836 #74D736 #36C5D7
split-complementary
#9936D7 #C5D736 #36D748
monochromatic
#55187A #7822AD #9936D7 #B369E1 #CD9CEB

Accessibility & contrast

On white

5.44
#9936D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9936D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936D7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936D7#FFFFFF#000000##FFFFFF
##9936D71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#8F5D85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9936d7;
/* rgb */ color: rgb(153, 54, 215);
/* oklch */ color: oklch(55.3% 0.233 308.5);
Tailwind
colors: {
  custom: {
    50: '#bc77e4',
    500: '#9936d7',
    950: '#000000',
  },
}
SCSS
$custom: #9936d7;
$custom-light: #bc77e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9936d7",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 276.894,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.23321,
    "h": 308.5
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#9936D7
secondary
#ACD792
accent
#EA3E80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9936D7

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

Preview Lab → · Contrast checker → · Palette generator →

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